{
    "openapi": "3.0.0",
    "info": {
        "title": "onlyfy Public API",
        "description": "# Introduction\nWelcome to the onlyfy REST API. You can use this API to export and import data about candidates, applications and jobs.\n\nThis document explains the general behaviour of our API, and provides a list of available API operations, and their expected input and output.\n\n### Testing interface\nIn addition to this documentation, we also provide a [testing interface](v1/testing-interface), which allows you to make API requests directly from your browser.\n\nIt also documents individual input fields in more detail, with information such as allowed values and format constraints.\n\n# Authentication\nThe API supports API keys and OAuth2 client credentials. Use one authentication method per request.\n\n## API key\nSpecify a valid API key as a HTTP header with the name `apikey`.\n\n### Example\n`apikey: 11111111aaaaaaaa22222222bbbbbbbb`\n\n## OAuth2 client credentials\nCreate OAuth credentials in account settings under *\"Integration\"* > *\"REST API\"*. Request an access token from the Public API OAuth token endpoint using your `client_id`, `client_secret`, and `grant_type=client_credentials`.\n\n### Token request\n`POST /oauth2/token`\n\n```http\ngrant_type=client_credentials&client_id=<client_id>&client_secret=<client_secret>\n```\n\nSend the returned token as a bearer token:\n\n```http\nAuthorization: Bearer <access_token>\n```\n\nOAuth2 bearer authentication replaces the `apikey` header. Do not send both `apikey` and `Authorization: Bearer ...` in the same request.\n\nIf credentials are not specified or invalid, the API will respond with a status code `401` or `403` respectively.\n\n## How to get credentials\nThe onlyfy app offers an interface to create and remove API keys and OAuth credentials. To find this interface, open your account settings and navigate to *\"Integration\"* > *\"REST API\"*.\nOnly admin users have permission to do this.\n\n# General behaviour\n\n## Format\nAll data in request and response bodies is encoded in JSON format.\nPlease refer to the documentation of individual endpoints for the expected input and output schema of an operation.\n\n## Response on errors\n\n> Example of an error response body\n\n```json\n{\n  \"message\": \"unable to decode json\"\n}\n```\n\nWhen an error occurs during an operation, the API will respond with a status code starting with `4xx` or `5xx`.\nIn this case, the response body will contain a JSON with a `message` field, describing what went wrong.\n\nAdditional fields may be included, depending on the type of the error and where it happened.\n\n### Examples for error codes\n\nError Code | Meaning\n---------- | -------\n400 | Bad Request -- there is something wrong with the request body\n401 | Unauthorized -- authentication credentials are not set\n403 | Forbidden -- credentials are invalid\n404 | Not Found -- you attempted to access a resource that does not exist\n500 | Internal Server Error -- an unexpected error occurred\n\n## Queries\nAPI-Operations that respond with a list of items generally allow to specify query parameters to filter the results by a specific field (see individual endpoint documentation for accepted parameters).\n\nAdditionally, when querying for strings, the `%` character is allowed as a wildcard. It will match any sequence of characters including the empty string.\nFor example, the (url encoded) string\n\n`.../candidate?profile[lastname]=%Muster%`\n\nwill match any candidates with last name \"Muster\", \"Mustermann\", etc.\n\n## Pagination\n\n> Example of a query response\n\n```json\n{\n  \"data\": [\n    {},\n    {},\n    {}\n  ],\n  \"links\": {\n    \"self\": \"someUrl?page_size=3&page=1\",\n    \"first\": \"someUrl?page_size=3&page=1\",\n    \"prev\": null,\n    \"next\": \"someUrl?page_size=3&page=2\",\n    \"last\": \"someUrl?page_size=3&page=14\",\n  }\n}\n```\n\nThe above mentioned query operations also accept two parameters for controlling pagination:\n\nParameter | Description | Remarks\n--------- | ----------- | -------\npage | The page number you want to navigate to | Default: 1\npage_size | Number of items to fetch per page | Default: 10, Maximum: 100\n\n### Navigation links\nMore specifically, the response of such requests will contain a `data` field, which stores the list of selected items, and a `links` field, which can be used to navigate pages:\n\nField name | Description | Remarks\n---------- | ----------- | -------\nself | Link to this page | Null if query result is empty\nfirst | Link to first page | Null if query result is empty\nprev | Link to previous page | Null if currently on first page\nnext | Link to next page | Null if currently on last page\nlast | Link to last page | Null if query result is empty\n\n## PATCH requests\nThe API allows to update specific fields of an object individually, without making changes to other fields. It implements RFC 7396 (JSON Merge Patch) for this.\n\nThis means you can simply pass a subset of the JSON schema of an object to the API, containing all fields that you want to change. All fields not contained in this subset will remain unchanged.\n\nIf you update arrays, only array elements you specified will be present after the update, all others will be deleted.\n\n## Files\nAll files are embedded in the JSON objects as Base64-encoded strings (for both input and output). Additional information (such as the filename) can be specified depending on the operation.\nBy default, it's set to `false`, any field that usually holds Base64-encoded data will instead be `null`.\n\n### Activate file output\nIn case you want to include encoded files in a response, you can do so by setting a specific header in your request:\n\n`X-Prescreen-Include-Encoded-Files: true`\n\n## Date format\nAll dates are formatted in the ISO-8601 format `Y-m-d\\TH:i:sO` (date, time and timezone).\n\n### Example:\n\n`1989-08-15T15:22:59+0000`\n\n## Boolean parameters and values\nAll boolean parameters and values have to be specified with `1` or `0`.\n\n# Additional notes\n\n## CV Parsing\n\nOur API offers a way to automatically parse a candidate's profile data from a CV file (see field `cv_file` in candidate endpoints).\nSince parsed data is set **after** all other fields, some of the data you specified may be overwritten during parsing.\n\nAllowed file types for CVs are **doc**, **docx**, **jpg,**, **odt**, **pdf**, **png**, **rtf**, and **txt*.\n\nBy default, included CV files are processed asynchronously for performance reasons.\nIf you rely on a synchronous processing, you can specify this by setting the header:\n\n`X-Prescreen-File-Processing: sync`\n\n<aside class=\"notice\">\n    Please note that this feature is intended to be used when registering new candidates (e.g. via a custom registration form), <b>not</b> for bulk importing candidates from previous systems.\n    <br><br>Within the bounds of <b>fair-use</b>, CV parsing is free of charge. However, excessive or unjustified use may lead to additional fees per request. If this should be the case, we will inform you before any fees apply.\n</aside>\n\n## Avatar pictures\n\nWhen setting a candidate's avatar picture, only square images are accepted (images with mismatching width and height will be rejected).\n\nAllowed file types are **jpg**, **png**, **bmp** and **gif**.\n",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "https://api.prescreenapp.io",
            "description": "Public API endpoint"
        }
    ],
    "paths": {
        "/v1/access_group": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "List all available access groups",
                "operationId": "AccessGroupQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "description": "Access group id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "name",
                        "in": "query",
                        "description": "Access group name",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessGroupQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/access_group/{id}": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "Find one acess group by its id",
                "operationId": "AccessGroupGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AccessGroupRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/application": {
            "get": {
                "tags": [
                    "Application"
                ],
                "summary": "List all applications or specify a query",
                "operationId": "ApplicationQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "description": "Application id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "candidate_id",
                        "in": "query",
                        "description": "Candidate id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "job_id",
                        "in": "query",
                        "description": "Job id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "is_finished",
                        "in": "query",
                        "description": "Flag if the application is finished",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "finished_at",
                        "in": "query",
                        "description": "DateTime when the application was finished",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "created_at",
                        "in": "query",
                        "description": "DateTime when the application was created",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "canceled_at",
                        "in": "query",
                        "description": "DateTime when the application was canceled",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "has_upload_task",
                        "in": "query",
                        "description": "Flag if the application has an upload task",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "motivational_letter",
                        "in": "query",
                        "description": "Motivational letter",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "xrm_tracking_id",
                        "in": "query",
                        "description": "XRM tracking id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "current_job_application_status",
                        "in": "query",
                        "description": "Current job application status object",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/JobApplicationStatusQuery"
                        }
                    },
                    {
                        "name": "job_application_status_logs",
                        "in": "query",
                        "description": "Array of job application status log objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/JobApplicationStatusLogQuery"
                            }
                        }
                    },
                    {
                        "name": "recruiter_files",
                        "in": "query",
                        "description": "Array of recruiter file objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/RecruiterFileQuery"
                            }
                        }
                    },
                    {
                        "name": "source",
                        "in": "query",
                        "description": "Source id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "post": {
                "tags": [
                    "Application"
                ],
                "summary": "Add a new application",
                "operationId": "ApplicationPost",
                "requestBody": {
                    "description": "A JSON object describing the new Application.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/ApplicationWrite"
                                    },
                                    {
                                        "properties": {
                                            "candidate_id": {
                                                "description": "ID of the Candidate who is applying.<br><br>One of either this or `candidate_email` must be sent.",
                                                "type": "integer"
                                            },
                                            "candidate_email": {
                                                "description": "Email address of the Candidate who is applying. Must belong to an existing Candidate.<br><br>One of either this or `candidate_id` must be sent.",
                                                "type": "string"
                                            },
                                            "job_id": {
                                                "description": "When the Application is for a specific job, send either this or `job_handle`.",
                                                "type": "integer"
                                            },
                                            "job_handle": {
                                                "description": "When the Application is for a specific job, send either this or `job_id`.",
                                                "type": "string"
                                            },
                                            "send_email": {
                                                "type": "boolean"
                                            },
                                            "motivational_letter": {
                                                "type": "string"
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationRead"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Returned on bad request content. e.g. if an invalid job ID is provided or if applications are stopped for the specified job",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "409": {
                        "description": "Returned on conflicts with existing data. e.g. if the request would create a duplicate Application",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/application/{id}": {
            "get": {
                "tags": [
                    "Application"
                ],
                "summary": "Find one application by its ID",
                "operationId": "ApplicationGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "patch": {
                "tags": [
                    "Application"
                ],
                "summary": "Partially or fully update an existing application",
                "operationId": "ApplicationPatch",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Application update json body",
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/ApplicationWrite"
                                    },
                                    {
                                        "properties": {
                                            "send_email": {
                                                "type": "boolean"
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationRead"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Returned on bad request content. e.g. if a required field is not provided",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/application/{id}/status/{status_id}": {
            "put": {
                "tags": [
                    "Application"
                ],
                "summary": "Set the status of an application",
                "operationId": "ApplicationSetStatus",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "status_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "reason": {
                                        "type": "string"
                                    },
                                    "reason_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            },
                            "example": {
                                "reason": "some reason",
                                "reason_id": 123
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "Returned on success"
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "404": {
                        "description": "Returned on application/status not found"
                    }
                }
            }
        },
        "/v1/application_source": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available application sources or specify a query",
                "operationId": "ApplicationSourceQuery",
                "parameters": [
                    {
                        "name": "translations",
                        "in": "query",
                        "description": "Array of job application source translation objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/JobApplicationSourceTranslationQuery"
                            }
                        }
                    },
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "is_selectable_by_candidates",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationSourceQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/application_source/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one application source by its ID",
                "operationId": "ApplicationSourceGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApplicationSourceRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/candidate": {
            "get": {
                "tags": [
                    "Candidate"
                ],
                "summary": "List all candidates or specify a query",
                "operationId": "CandidateQuery",
                "parameters": [
                    {
                        "name": "profile",
                        "in": "query",
                        "description": "Candiate profile object",
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/ProfileQuery"
                        }
                    },
                    {
                        "name": "email",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "updated_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "last_login",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "is_confirmed",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "created_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "last_activity_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "has_extended_data_persistence",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "is_internal",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "created_by",
                        "in": "query",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "properties": {
                                "email": {
                                    "type": "string"
                                }
                            },
                            "type": "object"
                        }
                    },
                    {
                        "name": "custom_fields",
                        "in": "query",
                        "description": "Array of custom field objects",
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/CandidateCustomFieldQuery"
                            }
                        }
                    },
                    {
                        "name": "candidate_tag_ids",
                        "in": "query",
                        "description": "Array of tag ids",
                        "required": false,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "integer"
                            }
                        }
                    },
                    {
                        "name": "facebook_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "xing_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "xing_profile_url",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "linkedin_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reference_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "data_persistence_extension_timeframe",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "accepted_extended_data_persistence_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "keep_in_talent_pool_until",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "gdpr_updated_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CandidateQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "post": {
                "tags": [
                    "Candidate"
                ],
                "summary": "Add a new candidate",
                "operationId": "CandidatePost",
                "requestBody": {
                    "description": "A JSON object describing the new Candidate.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "allOf": [
                                    {
                                        "$ref": "#/components/schemas/CandidateWrite"
                                    },
                                    {
                                        "properties": {
                                            "email": {
                                                "description": "Must be unique.",
                                                "type": "string",
                                                "nullable": false
                                            },
                                            "job_id": {
                                                "type": "integer"
                                            },
                                            "job_handle": {
                                                "type": "string"
                                            },
                                            "send_email": {
                                                "description": "If you are an onlyfy one customer, you are not able to disable sending emails using this option because the candidates will be informed automatically.",
                                                "type": "boolean"
                                            },
                                            "xing_profile_url": {
                                                "type": "string"
                                            },
                                            "motivational_letter": {
                                                "type": "string"
                                            },
                                            "is_finished": {
                                                "description": "Controls whether the candidate's application is marked as finished.",
                                                "type": "boolean",
                                                "default": true
                                            },
                                            "referer": {
                                                "type": "string"
                                            },
                                            "xrm_tracking_id": {
                                                "type": "string"
                                            },
                                            "source_id": {
                                                "type": "integer"
                                            }
                                        },
                                        "type": "object"
                                    }
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CandidateRead"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Returned on bad request content. e.g. if a required field is not provided",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "409": {
                        "description": "Returned on conflicts with existing data. e.g. if the request would create a duplicate Candidate",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorConflictingResource"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/candidate/{id}": {
            "get": {
                "tags": [
                    "Candidate"
                ],
                "summary": "Find one candidate by its ID",
                "operationId": "CandidateGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CandidateRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "patch": {
                "tags": [
                    "Candidate"
                ],
                "summary": "Partially or fully update an existing candidate",
                "operationId": "CandidatePatch",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Candidate update json body",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CandidateWrite"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CandidateRead"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Returned on bad request content. e.g. if a required field is not provided",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/candidate_tag": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available candidate tags or specify a query",
                "operationId": "CandidateTagQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "created_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "name",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "color_code",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CandidateTagQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/candidate_tag/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one candidate tag by its ID",
                "operationId": "CandidateTagGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CandidateTagRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/city": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available cities or specify a query",
                "operationId": "CityQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "translations",
                        "in": "query",
                        "description": "Array of job city translation objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/CityTranslationQuery"
                            }
                        }
                    },
                    {
                        "name": "osm_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cc",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lat",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "lon",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "google_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "state",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CityQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/city/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one city by its ID",
                "operationId": "CityGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CityRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/custom_field": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available custom fields or specify a query",
                "operationId": "CustomFieldQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "name",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "translations",
                        "in": "query",
                        "description": "Array of custom field translation objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/CustomFieldTranslationQuery"
                            }
                        }
                    },
                    {
                        "name": "label",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "custom_field_values",
                        "in": "query",
                        "description": "Array of custom field value objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/CustomFieldValueQuery"
                            }
                        }
                    },
                    {
                        "name": "is_job",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "is_candidate",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "is_mandatory",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomFieldQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/custom_field/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one custom field by its ID",
                "operationId": "CustomFieldGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomFieldRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/department": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available departments or specify a query",
                "operationId": "DepartmentQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "translations",
                        "in": "query",
                        "description": "Array of department translation objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/DepartmentTranslationQuery"
                            }
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DepartmentQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/department/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one department by its ID",
                "operationId": "DepartmentGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DepartmentRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/industry": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available industries or specify a query",
                "operationId": "IndustryQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "translations",
                        "in": "query",
                        "description": "Array of industry translation objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/IndustryTranslationQuery"
                            }
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IndustryQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/industry/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one industry by its ID",
                "operationId": "IndustryGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/IndustryRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/job": {
            "get": {
                "tags": [
                    "Job"
                ],
                "summary": "List all jobs or specify a query",
                "description": "By default, this will return all jobs, including those that are no longer active. To return only active jobs, set the `finished_at` query parameter to `null` (e.g `finished_at=null`).",
                "operationId": "JobQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "handle",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "short_handle",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "user",
                        "in": "query",
                        "description": "User object",
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/UserJobQuery"
                        }
                    },
                    {
                        "name": "title",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "created_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "department_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "instance",
                        "in": "query",
                        "description": "Recruiter instance object",
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/RecruiterInstanceJobQuery"
                        }
                    },
                    {
                        "name": "job_template",
                        "in": "query",
                        "description": "Job template object",
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/TemplateJobQuery"
                        }
                    },
                    {
                        "name": "description",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "salary",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "name": "position_type",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "city_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "zip_code",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "seniority",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "industry_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "is_published_on_widget",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "is_published_on_job_center",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "include_job_ad_html",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "published_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "requested_publication_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "custom_fields",
                        "in": "query",
                        "description": "Array of custom field objects",
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/CustomFieldJobQuery"
                            }
                        }
                    },
                    {
                        "name": "finished_at",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "start_of_work",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "has_immediate_start_of_work",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "head_count",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "job_contents",
                        "in": "query",
                        "description": "Array of job content objects",
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/JobContentJobQuery"
                            }
                        }
                    },
                    {
                        "name": "job_application_status_set",
                        "in": "query",
                        "description": "Job application status set object",
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/JobApplicationStatusSetJobQuery"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JobQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "post": {
                "tags": [
                    "Job"
                ],
                "summary": "Add a new job",
                "operationId": "JobPost",
                "requestBody": {
                    "description": "Job add json body",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/JobWrite"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JobRead"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Returned on bad request content. e.g. if a required field is not provided",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "404": {
                        "description": "Returned on reference to unknown resources. e.g. if an unknown `city_id` is provided",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/job/{id}": {
            "get": {
                "tags": [
                    "Job"
                ],
                "summary": "Find a single job",
                "description": "Gets details of a single job.",
                "operationId": "JobGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "A job `id` or `handle`/`short_handle`.",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "include_job_ad_html",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JobRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "404": {
                        "description": "Returned when no job is found with the given id",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "tags": [
                    "Job"
                ],
                "summary": "Partially or fully update an existing job",
                "operationId": "JobPatch",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Job update json body",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/JobWrite"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/JobRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/job/{id}/custom_candidate_fields": {
            "get": {
                "tags": [
                    "Job"
                ],
                "summary": "List all custom fields in the application process of a specific job",
                "description": "Returns a list of the custom fields that a candidate should be shown when applying for the specified job.",
                "operationId": "JobCustomCandidateFields",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "A job `id` or `handle`/`short_handle`.",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "translations",
                        "in": "query",
                        "description": "Set this to 'all' to return all available translations in the `translations` and `custom_field_values.translations` lists.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "default": null,
                            "enum": [
                                "all",
                                null
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CustomFieldQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "404": {
                        "description": "Returned when no job is found with the given id",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorGeneric"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/status_set": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "List all available status sets or specify a query",
                "operationId": "StatusSetQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "description": "status set id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "statuses",
                        "in": "query",
                        "description": "Array of job application status objects",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/JobApplicationStatusQuery"
                            }
                        }
                    },
                    {
                        "name": "job_ids",
                        "in": "query",
                        "description": "Array of job ids",
                        "required": false,
                        "style": "deepObject",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "integer"
                            }
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StatusSetQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/status_set/{id}": {
            "get": {
                "tags": [
                    "Other"
                ],
                "summary": "Find one status set by its ID",
                "operationId": "StatusSetGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StatusSetRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/team": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "List all available teams",
                "operationId": "TeamQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "name",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TeamQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/team/{id}": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "Find one team by its ID",
                "operationId": "TeamGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TeamRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/user": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "List all available users",
                "operationId": "UserQuery",
                "parameters": [
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "email",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "firstname",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "middlename",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lastname",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "phone",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "gender",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ldap_username",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "access_group",
                        "in": "query",
                        "description": "Access group object",
                        "style": "deepObject",
                        "schema": {
                            "$ref": "#/components/schemas/AccessGroupUserQuery"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserQueryResult"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "post": {
                "tags": [
                    "User"
                ],
                "summary": "Add user",
                "operationId": "UserPost",
                "requestBody": {
                    "description": "User add json body",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserWrite"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/user/{id}": {
            "get": {
                "tags": [
                    "User"
                ],
                "summary": "Find one user by its ID",
                "operationId": "UserGet",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "delete": {
                "tags": [
                    "User"
                ],
                "summary": "Delete user",
                "operationId": "UserDelete",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returned on success"
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            },
            "patch": {
                "tags": [
                    "User"
                ],
                "summary": "Update user",
                "operationId": "UserPatch",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "description": "User update json body",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserWrite"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Returned on success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UserRead"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/user/invite": {
            "post": {
                "tags": [
                    "User"
                ],
                "summary": "Invite user",
                "operationId": "UserInvite",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "email": {
                                        "type": "string"
                                    },
                                    "access_group_id": {
                                        "type": "integer"
                                    },
                                    "team_id": {
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            },
                            "example": {
                                "email": "some-email@prescreen.io",
                                "access_group_id": 123,
                                "team_id": 321
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Returned on success"
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    }
                }
            }
        },
        "/v1/whatsapp/message-status": {
            "post": {
                "tags": [
                    "WhatsApp"
                ],
                "summary": "Receive a WhatsApp message status update",
                "operationId": "WhatsAppMessageStatus",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "external_message_id",
                                    "application_id",
                                    "occurred_at",
                                    "status",
                                    "metadata"
                                ],
                                "properties": {
                                    "external_message_id": {
                                        "type": "string",
                                        "example": "pitchyou-message-123"
                                    },
                                    "application_id": {
                                        "type": "integer",
                                        "example": 123
                                    },
                                    "occurred_at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "example": "2026-05-05T12:30:00Z"
                                    },
                                    "status": {
                                        "type": "string",
                                        "enum": [
                                            "new",
                                            "read"
                                        ]
                                    },
                                    "metadata": {
                                        "properties": {
                                            "provider": {
                                                "type": "string",
                                                "example": "pitchyou"
                                            },
                                            "channel": {
                                                "type": "string",
                                                "example": "whatsapp"
                                            }
                                        },
                                        "type": "object"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "Returned when the message status update was accepted"
                    },
                    "400": {
                        "description": "Returned on bad request content"
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "404": {
                        "description": "Returned when the application was not found"
                    }
                }
            }
        },
        "/v1/whatsapp/waba-onboarding-status": {
            "post": {
                "tags": [
                    "WhatsApp"
                ],
                "summary": "Receive a WABA onboarding status update",
                "operationId": "WhatsAppWabaOnboardingStatus",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "tenant_id",
                                    "status"
                                ],
                                "properties": {
                                    "tenant_id": {
                                        "type": "string",
                                        "example": "pitchyou-tenant-123"
                                    },
                                    "status": {
                                        "type": "string",
                                        "enum": [
                                            "not_started",
                                            "pending",
                                            "completed",
                                            "failed"
                                        ]
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "Returned when the WABA onboarding status update was accepted"
                    },
                    "400": {
                        "description": "Returned on bad request content"
                    },
                    "401": {
                        "description": "Returned on not authorized"
                    },
                    "403": {
                        "description": "Returned on forbidden"
                    },
                    "404": {
                        "description": "Returned when the tenant was not found"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "UserWrite": {
                "required": [
                    "email"
                ],
                "properties": {
                    "access_group": {
                        "$ref": "#/components/schemas/RecruiterAccessGroup"
                    },
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "gender": {
                        "type": "string"
                    },
                    "ldap_username": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UserRead": {
                "required": [
                    "email"
                ],
                "properties": {
                    "access_group": {
                        "$ref": "#/components/schemas/RecruiterAccessGroup2"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "gender": {
                        "type": "string"
                    },
                    "ldap_username": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UserQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RecruiterAccess"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks"
                    }
                },
                "type": "object"
            },
            "AccessGroupUserQuery": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobWrite": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "description": {
                        "title": "HTML description of the job.",
                        "type": "string"
                    },
                    "salary": {
                        "type": "number",
                        "format": "float"
                    },
                    "position_type": {
                        "title": "'full-time', 'part-time', 'internship', 'freelancer', etc .",
                        "description": "..",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "zip_code": {
                        "title": "Zip code from the job's address.",
                        "type": "string"
                    },
                    "seniority": {
                        "title": "'Entry Level', 'Professional/Experienced', 'Student/Intern', 'Manager', etc .",
                        "description": "..",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldWithValues"
                        }
                    },
                    "start_of_work": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_immediate_start_of_work": {
                        "type": "boolean",
                        "default": false
                    },
                    "head_count": {
                        "type": "integer",
                        "default": 1
                    },
                    "salary_information": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/JobSalaryInformation"
                            }
                        ]
                    },
                    "remote": {
                        "type": "string"
                    },
                    "skills": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobRead": {
                "properties": {
                    "applications_deadline_information": {
                        "$ref": "#/components/schemas/JobApplicationControlResource"
                    },
                    "banner": {
                        "title": "URL to the banner image for the job or null if none is configured.",
                        "type": "string"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "handle": {
                        "type": "string",
                        "default": ""
                    },
                    "short_handle": {
                        "type": "string",
                        "default": ""
                    },
                    "user": {
                        "$ref": "#/components/schemas/User"
                    },
                    "title": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "instance": {
                        "$ref": "#/components/schemas/RecruiterInstance"
                    },
                    "job_template": {
                        "$ref": "#/components/schemas/JobTemplate"
                    },
                    "description": {
                        "title": "HTML description of the job.",
                        "type": "string"
                    },
                    "salary": {
                        "type": "number",
                        "format": "float"
                    },
                    "position_type": {
                        "title": "'full-time', 'part-time', 'internship', 'freelancer', etc .",
                        "description": "..",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "city_id": {
                        "title": "City from the job's address.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "zip_code": {
                        "title": "Zip code from the job's address.",
                        "type": "string"
                    },
                    "seniority": {
                        "title": "'Entry Level', 'Professional/Experienced', 'Student/Intern', 'Manager', etc .",
                        "description": "..",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "is_published_on_widget": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_published_on_job_center": {
                        "type": "boolean",
                        "default": false
                    },
                    "published_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "requested_publication_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldWithValues2"
                        }
                    },
                    "finished_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "start_of_work": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_immediate_start_of_work": {
                        "type": "boolean",
                        "default": false
                    },
                    "head_count": {
                        "type": "integer",
                        "default": 1
                    },
                    "job_contents": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobContent"
                        }
                    },
                    "main_contact": {
                        "$ref": "#/components/schemas/User"
                    },
                    "job_application_status_set": {
                        "$ref": "#/components/schemas/JobApplicationStatusSet"
                    },
                    "apply_url": {
                        "type": "string"
                    },
                    "whatsapp_apply_url": {
                        "type": "string"
                    },
                    "salary_information": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/JobSalaryInformation2"
                            }
                        ]
                    },
                    "remote": {
                        "type": "string"
                    },
                    "skills": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Job"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks2"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusSetJobQuery": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatus"
                        }
                    }
                },
                "type": "object"
            },
            "JobContentJobQuery": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "content": {
                        "type": "string"
                    },
                    "type": {
                        "title": "One of: 'hiringOrganization', 'responsibilities', 'qualifications', 'incentives', 'contact' or null.",
                        "type": "string",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CustomFieldJobQuery": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue"
                        }
                    }
                },
                "type": "object"
            },
            "TemplateJobQuery": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "name": {
                        "type": "string"
                    },
                    "html": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterInstanceJobQuery": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "xing_company_profile_url": {
                        "type": "string"
                    },
                    "redirect_url_after_application": {
                        "type": "string"
                    },
                    "is_legal_entity": {
                        "type": "boolean",
                        "default": false
                    }
                },
                "type": "object"
            },
            "UserJobQuery": {
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TeamRead": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TeamQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RecruiterTeam"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks3"
                    }
                },
                "type": "object"
            },
            "StatusSetRead": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatus2"
                        }
                    },
                    "job_ids": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFind"
                        }
                    }
                },
                "type": "object"
            },
            "StatusSetQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatusSet2"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks4"
                    }
                },
                "type": "object"
            },
            "IndustryRead": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/IndustryTranslation"
                        }
                    },
                    "id": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "IndustryQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Industry"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks5"
                    }
                },
                "type": "object"
            },
            "IndustryTranslationQuery": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DepartmentRead": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/DepartmentTranslation"
                        }
                    },
                    "id": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "DepartmentQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Department"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks6"
                    }
                },
                "type": "object"
            },
            "DepartmentTranslationQuery": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldRead": {
                "required": [
                    "name"
                ],
                "properties": {
                    "type": {
                        "type": "string",
                        "enum": [
                            "freetext",
                            "text_area",
                            "number",
                            "single_choice",
                            "multiple_choice",
                            "file",
                            "date"
                        ],
                        "example": "freetext"
                    },
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldTranslation"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string",
                        "example": "Bewerbungsschreiben"
                    },
                    "label": {
                        "type": "string",
                        "default": null,
                        "example": null,
                        "nullable": true
                    },
                    "custom_field_values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue2"
                        }
                    },
                    "is_job": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_mandatory": {
                        "type": "boolean",
                        "default": true
                    },
                    "file_formats": {
                        "title": "Only relevant when the CustomField's type is 'file'\n\n        @JoinColumn(name=\"custom_field_id\", referencedColumnName=\"id\")\n    },\n    inverseJoinColumns={\n        @JoinColumn(name=\"custom_field_file_formats_id\", referencedColumnName=\"id\")\n    }\n)",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldFileFormats"
                        }
                    }
                },
                "type": "object"
            },
            "CustomFieldQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomField"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks7"
                    }
                },
                "type": "object"
            },
            "CustomFieldValueQuery": {
                "required": [
                    "value"
                ],
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValueTranslation"
                        }
                    },
                    "position": {
                        "type": "integer",
                        "nullable": true
                    },
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldTranslationQuery": {
                "properties": {
                    "locale": {
                        "description": "Two-letter code for the translation's language",
                        "type": "string",
                        "example": "en"
                    },
                    "label": {
                        "description": "Label for the field",
                        "type": "string",
                        "example": "Please upload your letter of application here"
                    },
                    "placeholder_value": {
                        "description": "Optional placeholder value for the field",
                        "type": "string",
                        "example": "Letter of application...",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CityRead": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CityTranslation"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "osm_id": {
                        "type": "integer"
                    },
                    "cc": {
                        "type": "string"
                    },
                    "lat": {
                        "type": "number",
                        "format": "float"
                    },
                    "lon": {
                        "type": "number",
                        "format": "float"
                    },
                    "google_id": {
                        "type": "string"
                    },
                    "state": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CityQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/City"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks8"
                    }
                },
                "type": "object"
            },
            "CityTranslationQuery": {
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CandidateTagRead": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "name": {
                        "type": "string"
                    },
                    "color_code": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CandidateTagQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CandidateTag"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks9"
                    }
                },
                "type": "object"
            },
            "CandidateWrite": {
                "required": [
                    "email"
                ],
                "properties": {
                    "language": {
                        "title": "ISO 639-1 language code",
                        "type": "string"
                    },
                    "profile": {
                        "$ref": "#/components/schemas/Profile"
                    },
                    "email": {
                        "type": "string"
                    },
                    "has_extended_data_persistence": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_internal": {
                        "type": "boolean",
                        "default": 0
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldWithValues3"
                        }
                    },
                    "candidate_tag_ids": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFind"
                        }
                    },
                    "cv_file": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/EncodedFile"
                            }
                        ]
                    },
                    "facebook_id": {
                        "type": "string"
                    },
                    "linkedin_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CandidateRead": {
                "required": [
                    "email"
                ],
                "properties": {
                    "updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "last_login": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "language": {
                        "title": "ISO 639-1 language code",
                        "type": "string"
                    },
                    "is_confirmed": {
                        "type": "boolean"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "profile": {
                        "$ref": "#/components/schemas/Profile2"
                    },
                    "email": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "last_activity_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_extended_data_persistence": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_internal": {
                        "type": "boolean",
                        "default": 0
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/User2"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldWithValues4"
                        }
                    },
                    "candidate_tag_ids": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFind"
                        }
                    },
                    "job_applications": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplication"
                        }
                    },
                    "has_cv_upload": {
                        "type": "boolean",
                        "default": false
                    },
                    "cv_file": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/EncodedFile2"
                            }
                        ]
                    },
                    "facebook_id": {
                        "type": "string"
                    },
                    "xing_id": {
                        "type": "string"
                    },
                    "xing_profile_url": {
                        "type": "string"
                    },
                    "linkedin_id": {
                        "type": "string"
                    },
                    "reference_id": {
                        "type": "integer"
                    },
                    "data_persistence_extension_timeframe": {
                        "type": "string"
                    },
                    "accepted_extended_data_persistence_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "keep_in_talent_pool_until": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gdpr_updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "target_candidate_duplicates": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CandidateDuplicateLink"
                        }
                    }
                },
                "type": "object"
            },
            "CandidateQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Candidate"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks10"
                    }
                },
                "type": "object"
            },
            "CandidateCustomFieldQuery": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue3"
                        }
                    }
                },
                "type": "object"
            },
            "ProfileQuery": {
                "properties": {
                    "firstname": {
                        "type": "string",
                        "default": ""
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string",
                        "default": ""
                    },
                    "phone": {
                        "title": "Set phone",
                        "type": "string",
                        "pattern": ".*\\A[0-9\\(\\)/\\+ \\-]{0,255}\\z.*"
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gender": {
                        "type": "string",
                        "enum": [
                            "m",
                            "f",
                            "d"
                        ]
                    },
                    "city_id": {
                        "title": "Get the city from the profiles address.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "homeaddress": {
                        "type": "string"
                    },
                    "street": {
                        "title": "Get the street from the profiles address.",
                        "type": "string"
                    },
                    "zip_code": {
                        "title": "Get the zipCode from the profiles address.",
                        "type": "string"
                    },
                    "city_name": {
                        "title": "Get the city name from the profiles address.",
                        "type": "string"
                    },
                    "country_of_residence": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "nationality": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "awards": {
                        "type": "string"
                    },
                    "organizations": {
                        "type": "string"
                    },
                    "workaddress": {
                        "type": "string"
                    },
                    "positions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Position"
                        }
                    },
                    "educations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Education"
                        }
                    },
                    "current_position": {
                        "$ref": "#/components/schemas/Position"
                    },
                    "current_education": {
                        "$ref": "#/components/schemas/Education"
                    },
                    "interests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "skill_aliases": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "additional_emails": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Email"
                        }
                    },
                    "ims": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Im"
                        }
                    },
                    "additional_phones": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Phonenumber"
                        }
                    },
                    "urls": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Url"
                        }
                    },
                    "languages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Language"
                        }
                    },
                    "advanced_trainings": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Qualification"
                        }
                    }
                },
                "type": "object"
            },
            "ApplicationSourceRead": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationSourceTranslation"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "is_selectable_by_candidates": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ApplicationSourceQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationSource"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks11"
                    }
                },
                "type": "object"
            },
            "JobApplicationSourceTranslationQuery": {
                "properties": {
                    "title": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ApplicationWrite": {
                "properties": {
                    "candidate_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "job_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "is_finished": {
                        "type": "boolean",
                        "default": false
                    },
                    "referer": {
                        "type": "string"
                    },
                    "xrm_tracking_id": {
                        "type": "string"
                    },
                    "recruiter_files": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/EncodedFile3"
                        }
                    },
                    "source": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    }
                },
                "type": "object"
            },
            "ApplicationRead": {
                "properties": {
                    "ratings": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CandidateRating"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "candidate_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "job_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "is_finished": {
                        "type": "boolean",
                        "default": false
                    },
                    "finished_at": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "canceled_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_upload_task": {
                        "type": "boolean",
                        "default": false
                    },
                    "motivational_letter": {
                        "type": "string"
                    },
                    "referer": {
                        "type": "string"
                    },
                    "xrm_tracking_id": {
                        "type": "string"
                    },
                    "application_channel": {
                        "type": "string"
                    },
                    "current_job_application_status": {
                        "$ref": "#/components/schemas/JobApplicationStatus3"
                    },
                    "job_application_status_logs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatusLog"
                        }
                    },
                    "recruiter_files": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/EncodedFile4"
                        }
                    },
                    "source": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    }
                },
                "type": "object"
            },
            "ApplicationQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplication2"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks12"
                    }
                },
                "type": "object"
            },
            "RecruiterFileQuery": {
                "required": [
                    "source"
                ],
                "properties": {
                    "is_visible_for_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "recruiter",
                            "candidate"
                        ]
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusLogQuery": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "job_application_status": {
                        "$ref": "#/components/schemas/JobApplicationStatus4"
                    },
                    "user": {
                        "$ref": "#/components/schemas/User3"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "start_reminder_at": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusQuery": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatus5"
                        }
                    },
                    "job_ids": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFind"
                        }
                    }
                },
                "type": "object"
            },
            "AccessGroupRead": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AccessGroupQueryResult": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RecruiterAccessGroup3"
                        }
                    },
                    "links": {
                        "$ref": "#/components/schemas/PaginationLinks13"
                    }
                },
                "type": "object"
            },
            "ErrorGeneric": {
                "description": "Returned when something prevented a request from succeeding.",
                "properties": {
                    "message": {
                        "description": "A description of the problem.",
                        "type": "string",
                        "example": "The specified item does not exist"
                    }
                },
                "type": "object"
            },
            "ErrorConflictingResource": {
                "description": "Returned when a conflict with another resource prevents an operation from succeeding.",
                "properties": {
                    "message": {
                        "description": "A description of the problem.",
                        "type": "string",
                        "example": "the specified e-mail address has already been registered."
                    },
                    "conflicting_resource_id": {
                        "description": "The ID of the other resource that prevented the operation from succeeding.",
                        "type": "integer",
                        "example": 1
                    },
                    "conflicting_resource_type": {
                        "description": "The type of the resource referenced by `conflicting_resource_id`.",
                        "type": "string",
                        "enum": [
                            "candidate",
                            "job",
                            "application",
                            "user"
                        ],
                        "example": "candidate"
                    }
                },
                "type": "object"
            },
            "RecruiterAccessGroup": {
                "properties": {
                    "id": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "RecruiterAccessGroup2": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterAccess": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "user": {
                        "$ref": "#/components/schemas/User4"
                    },
                    "recruiter_team_memberships": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RecruiterTeamMembership"
                        }
                    }
                },
                "type": "object"
            },
            "PaginationLinks": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "fieldValueToFind": {},
            "CustomFieldWithValues": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue4"
                        }
                    }
                },
                "type": "object"
            },
            "JobSalaryInformation": {
                "properties": {
                    "currency": {
                        "type": "string",
                        "default": "EUR"
                    },
                    "range_min": {
                        "type": "number",
                        "format": "float",
                        "nullable": true
                    },
                    "range_max": {
                        "type": "number",
                        "format": "float",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "JobApplicationControlResource": {
                "properties": {
                    "applications_allowed": {
                        "type": "boolean"
                    },
                    "stop_applications_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User": {
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "job_title": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterInstance": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "xing_company_profile_url": {
                        "type": "string"
                    },
                    "redirect_url_after_application": {
                        "type": "string"
                    },
                    "is_legal_entity": {
                        "type": "boolean",
                        "default": false
                    }
                },
                "type": "object"
            },
            "JobTemplate": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "name": {
                        "type": "string"
                    },
                    "html": {
                        "type": "string"
                    },
                    "job_banner_file": {
                        "$ref": "#/components/schemas/EncodedFile5"
                    },
                    "job_banner_footer_file": {
                        "$ref": "#/components/schemas/EncodedFile5"
                    },
                    "job_banner_social_media_file": {
                        "$ref": "#/components/schemas/EncodedFile5"
                    }
                },
                "type": "object"
            },
            "CustomFieldWithValues2": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue5"
                        }
                    }
                },
                "type": "object"
            },
            "JobContent": {
                "properties": {
                    "is_changeable": {
                        "type": "boolean"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "content": {
                        "type": "string"
                    },
                    "type": {
                        "title": "One of: 'hiringOrganization', 'responsibilities', 'qualifications', 'incentives', 'contact' or null.",
                        "type": "string",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusSet": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatus6"
                        }
                    }
                },
                "type": "object"
            },
            "JobSalaryInformation2": {
                "properties": {
                    "currency": {
                        "type": "string",
                        "default": "EUR"
                    },
                    "range_min": {
                        "type": "number",
                        "format": "float",
                        "nullable": true
                    },
                    "range_max": {
                        "type": "number",
                        "format": "float",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "Job": {
                "properties": {
                    "applications_deadline_information": {
                        "$ref": "#/components/schemas/JobApplicationControlResource2"
                    },
                    "banner": {
                        "title": "URL to the banner image for the job or null if none is configured.",
                        "type": "string"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "handle": {
                        "type": "string",
                        "default": ""
                    },
                    "short_handle": {
                        "type": "string",
                        "default": ""
                    },
                    "user": {
                        "$ref": "#/components/schemas/User5"
                    },
                    "title": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "instance": {
                        "$ref": "#/components/schemas/RecruiterInstance2"
                    },
                    "job_template": {
                        "$ref": "#/components/schemas/JobTemplate2"
                    },
                    "description": {
                        "title": "HTML description of the job.",
                        "type": "string"
                    },
                    "salary": {
                        "type": "number",
                        "format": "float"
                    },
                    "position_type": {
                        "title": "'full-time', 'part-time', 'internship', 'freelancer', etc .",
                        "description": "..",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "city_id": {
                        "title": "City from the job's address.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "zip_code": {
                        "title": "Zip code from the job's address.",
                        "type": "string"
                    },
                    "seniority": {
                        "title": "'Entry Level', 'Professional/Experienced', 'Student/Intern', 'Manager', etc .",
                        "description": "..",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "is_published_on_widget": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_published_on_job_center": {
                        "type": "boolean",
                        "default": false
                    },
                    "published_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "requested_publication_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldWithValues5"
                        }
                    },
                    "finished_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "start_of_work": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_immediate_start_of_work": {
                        "type": "boolean",
                        "default": false
                    },
                    "head_count": {
                        "type": "integer",
                        "default": 1
                    },
                    "job_contents": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobContent2"
                        }
                    },
                    "main_contact": {
                        "$ref": "#/components/schemas/User5"
                    },
                    "job_application_status_set": {
                        "$ref": "#/components/schemas/JobApplicationStatusSet3"
                    },
                    "apply_url": {
                        "type": "string"
                    },
                    "whatsapp_apply_url": {
                        "type": "string"
                    },
                    "salary_information": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/JobSalaryInformation3"
                            }
                        ]
                    },
                    "remote": {
                        "type": "string"
                    },
                    "skills": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PaginationLinks2": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldValue": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterTeam": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PaginationLinks3": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus2": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "has_mandatory_reasoning": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    },
                    "job_application_status_reasons": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatusReason"
                        }
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusSet2": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatus7"
                        }
                    },
                    "job_ids": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFind"
                        }
                    }
                },
                "type": "object"
            },
            "PaginationLinks4": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "IndustryTranslation": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Industry": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/IndustryTranslation2"
                        }
                    },
                    "id": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "PaginationLinks5": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DepartmentTranslation": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Department": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/DepartmentTranslation2"
                        }
                    },
                    "id": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "PaginationLinks6": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldTranslation": {
                "properties": {
                    "locale": {
                        "description": "Two-letter code for the translation's language",
                        "type": "string",
                        "example": "en"
                    },
                    "label": {
                        "description": "Label for the field",
                        "type": "string",
                        "example": "Please upload your letter of application here"
                    },
                    "placeholder_value": {
                        "description": "Optional placeholder value for the field",
                        "type": "string",
                        "example": "Letter of application...",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CustomFieldValue2": {
                "required": [
                    "value"
                ],
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValueTranslation2"
                        }
                    },
                    "position": {
                        "type": "integer",
                        "nullable": true
                    },
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldFileFormats": {
                "required": [
                    "type"
                ],
                "properties": {
                    "accepted_formats": {
                        "description": "The allowed file extensions for this type",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "example": [
                            "doc",
                            "docx",
                            "pdf"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "images",
                            "documents",
                            "presentations",
                            "others"
                        ],
                        "example": "documents"
                    }
                },
                "type": "object"
            },
            "CustomField": {
                "required": [
                    "name"
                ],
                "properties": {
                    "type": {
                        "type": "string",
                        "enum": [
                            "freetext",
                            "text_area",
                            "number",
                            "single_choice",
                            "multiple_choice",
                            "file",
                            "date"
                        ],
                        "example": "freetext"
                    },
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldTranslation2"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string",
                        "example": "Bewerbungsschreiben"
                    },
                    "label": {
                        "type": "string",
                        "default": null,
                        "example": null,
                        "nullable": true
                    },
                    "custom_field_values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue6"
                        }
                    },
                    "is_job": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_mandatory": {
                        "type": "boolean",
                        "default": true
                    },
                    "file_formats": {
                        "title": "Only relevant when the CustomField's type is 'file'\n\n        @JoinColumn(name=\"custom_field_id\", referencedColumnName=\"id\")\n    },\n    inverseJoinColumns={\n        @JoinColumn(name=\"custom_field_file_formats_id\", referencedColumnName=\"id\")\n    }\n)",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldFileFormats2"
                        }
                    }
                },
                "type": "object"
            },
            "PaginationLinks7": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldValueTranslation": {
                "properties": {
                    "locale": {
                        "description": "Two-letter code for the translation's language",
                        "type": "string",
                        "example": "en"
                    },
                    "value_label": {
                        "description": "Localised label for the value",
                        "type": "string",
                        "example": "Option 1"
                    }
                },
                "type": "object"
            },
            "CityTranslation": {
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "City": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CityTranslation2"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "osm_id": {
                        "type": "integer"
                    },
                    "cc": {
                        "type": "string"
                    },
                    "lat": {
                        "type": "number",
                        "format": "float"
                    },
                    "lon": {
                        "type": "number",
                        "format": "float"
                    },
                    "google_id": {
                        "type": "string"
                    },
                    "state": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "PaginationLinks8": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CandidateTag": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "name": {
                        "type": "string"
                    },
                    "color_code": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PaginationLinks9": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Profile": {
                "properties": {
                    "firstname": {
                        "type": "string",
                        "default": ""
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string",
                        "default": ""
                    },
                    "phone": {
                        "title": "Set phone",
                        "type": "string",
                        "pattern": ".*\\A[0-9\\(\\)/\\+ \\-]{0,255}\\z.*"
                    },
                    "avatar": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/EncodedFile"
                            }
                        ]
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gender": {
                        "type": "string",
                        "enum": [
                            "m",
                            "f",
                            "d"
                        ]
                    },
                    "city_id": {
                        "title": "Get the city from the profiles address.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "homeaddress": {
                        "type": "string"
                    },
                    "street": {
                        "title": "Get the street from the profiles address.",
                        "type": "string"
                    },
                    "zip_code": {
                        "title": "Get the zipCode from the profiles address.",
                        "type": "string"
                    },
                    "city_name": {
                        "title": "Get the city name from the profiles address.",
                        "type": "string"
                    },
                    "country_of_residence": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "nationality": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "awards": {
                        "type": "string"
                    },
                    "organizations": {
                        "type": "string"
                    },
                    "workaddress": {
                        "type": "string"
                    },
                    "positions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Position2"
                        }
                    },
                    "educations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Education2"
                        }
                    },
                    "interests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "skill_aliases": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "additional_emails": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Email2"
                        }
                    },
                    "ims": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Im2"
                        }
                    },
                    "additional_phones": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Phonenumber2"
                        }
                    },
                    "urls": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Url2"
                        }
                    },
                    "languages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Language2"
                        }
                    },
                    "advanced_trainings": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Qualification2"
                        }
                    }
                },
                "type": "object"
            },
            "CustomFieldWithValues3": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue7"
                        }
                    }
                },
                "type": "object"
            },
            "EncodedFile": {
                "properties": {
                    "base64_content": {
                        "type": "string"
                    },
                    "file_type": {
                        "type": "string",
                        "enum": [
                            "doc",
                            "docx",
                            "pdf",
                            "rtf"
                        ]
                    }
                },
                "type": "object"
            },
            "Profile2": {
                "properties": {
                    "firstname": {
                        "type": "string",
                        "default": ""
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string",
                        "default": ""
                    },
                    "phone": {
                        "title": "Set phone",
                        "type": "string",
                        "pattern": ".*\\A[0-9\\(\\)/\\+ \\-]{0,255}\\z.*"
                    },
                    "avatar": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/EncodedFile2"
                            }
                        ]
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gender": {
                        "type": "string",
                        "enum": [
                            "m",
                            "f",
                            "d"
                        ]
                    },
                    "city_id": {
                        "title": "Get the city from the profiles address.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "homeaddress": {
                        "type": "string"
                    },
                    "street": {
                        "title": "Get the street from the profiles address.",
                        "type": "string"
                    },
                    "zip_code": {
                        "title": "Get the zipCode from the profiles address.",
                        "type": "string"
                    },
                    "city_name": {
                        "title": "Get the city name from the profiles address.",
                        "type": "string"
                    },
                    "country_of_residence": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "nationality": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "awards": {
                        "type": "string"
                    },
                    "organizations": {
                        "type": "string"
                    },
                    "workaddress": {
                        "type": "string"
                    },
                    "positions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Position3"
                        }
                    },
                    "educations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Education3"
                        }
                    },
                    "current_position": {
                        "$ref": "#/components/schemas/Position3"
                    },
                    "current_education": {
                        "$ref": "#/components/schemas/Education3"
                    },
                    "interests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "skill_aliases": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "additional_emails": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Email3"
                        }
                    },
                    "ims": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Im3"
                        }
                    },
                    "additional_phones": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Phonenumber3"
                        }
                    },
                    "urls": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Url3"
                        }
                    },
                    "languages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Language3"
                        }
                    },
                    "advanced_trainings": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Qualification3"
                        }
                    }
                },
                "type": "object"
            },
            "User2": {
                "type": "object"
            },
            "CustomFieldWithValues4": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue8"
                        }
                    }
                },
                "type": "object"
            },
            "JobApplication": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "job_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    }
                },
                "type": "object"
            },
            "EncodedFile2": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "file_type": {
                        "type": "string",
                        "enum": [
                            "doc",
                            "docx",
                            "pdf",
                            "rtf"
                        ]
                    }
                },
                "type": "object"
            },
            "CandidateDuplicateLink": {
                "type": "object"
            },
            "Candidate": {
                "required": [
                    "email"
                ],
                "properties": {
                    "updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "last_login": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "language": {
                        "title": "ISO 639-1 language code",
                        "type": "string"
                    },
                    "is_confirmed": {
                        "type": "boolean"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "profile": {
                        "$ref": "#/components/schemas/Profile3"
                    },
                    "email": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "last_activity_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_extended_data_persistence": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_internal": {
                        "type": "boolean",
                        "default": 0
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/User6"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldWithValues6"
                        }
                    },
                    "candidate_tag_ids": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFind"
                        }
                    },
                    "job_applications": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplication3"
                        }
                    },
                    "has_cv_upload": {
                        "type": "boolean",
                        "default": false
                    },
                    "cv_file": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/EncodedFile6"
                            }
                        ]
                    },
                    "facebook_id": {
                        "type": "string"
                    },
                    "xing_id": {
                        "type": "string"
                    },
                    "xing_profile_url": {
                        "type": "string"
                    },
                    "linkedin_id": {
                        "type": "string"
                    },
                    "reference_id": {
                        "type": "integer"
                    },
                    "data_persistence_extension_timeframe": {
                        "type": "string"
                    },
                    "accepted_extended_data_persistence_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "keep_in_talent_pool_until": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gdpr_updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "target_candidate_duplicates": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CandidateDuplicateLink2"
                        }
                    }
                },
                "type": "object"
            },
            "PaginationLinks10": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldValue3": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Position": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "description": {
                        "type": "string"
                    },
                    "company_name": {
                        "type": "string"
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "position_type": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "seniority": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "city": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Education": {
                "properties": {
                    "school": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "subject": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "specialized_subjects": {
                        "type": "string"
                    },
                    "degree": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "fieldValueToFindOrCreate": {},
            "Email": {
                "properties": {
                    "type": {
                        "title": "'private' or 'work'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Im": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Phonenumber": {
                "properties": {
                    "type": {
                        "title": "'mobile', 'work', 'home', or 'fax'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Url": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Language": {
                "properties": {
                    "code": {
                        "title": "ISO 639-1 language code",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "level": {
                        "title": "'native', 'fluent', 'good', 'intermediate', 'basic', or 'beginner'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    }
                },
                "type": "object"
            },
            "Qualification": {
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "year": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "JobApplicationSourceTranslation": {
                "properties": {
                    "title": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationSource": {
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationSourceTranslation2"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "is_selectable_by_candidates": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PaginationLinks11": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EncodedFile3": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "is_visible_for_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "recruiter",
                            "candidate"
                        ]
                    },
                    "upload_context": {
                        "type": "string",
                        "enum": [
                            "application",
                            "custom_candidate_field",
                            "custom_job_field",
                            "custom_hiring_request_field",
                            "message"
                        ]
                    }
                },
                "type": "object"
            },
            "CandidateRating": {
                "properties": {
                    "user": {
                        "$ref": "#/components/schemas/User7"
                    },
                    "rating": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus3": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusLog": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "job_application_status": {
                        "$ref": "#/components/schemas/JobApplicationStatus3"
                    },
                    "user": {
                        "$ref": "#/components/schemas/User7"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "start_reminder_at": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "EncodedFile4": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "is_visible_for_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "recruiter",
                            "candidate"
                        ]
                    },
                    "upload_context": {
                        "type": "string",
                        "enum": [
                            "application",
                            "custom_candidate_field",
                            "custom_job_field",
                            "custom_hiring_request_field",
                            "message"
                        ]
                    }
                },
                "type": "object"
            },
            "JobApplication2": {
                "properties": {
                    "ratings": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CandidateRating2"
                        }
                    },
                    "id": {
                        "type": "integer"
                    },
                    "candidate_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "job_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "is_finished": {
                        "type": "boolean",
                        "default": false
                    },
                    "finished_at": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "canceled_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "has_upload_task": {
                        "type": "boolean",
                        "default": false
                    },
                    "motivational_letter": {
                        "type": "string"
                    },
                    "referer": {
                        "type": "string"
                    },
                    "xrm_tracking_id": {
                        "type": "string"
                    },
                    "application_channel": {
                        "type": "string"
                    },
                    "current_job_application_status": {
                        "$ref": "#/components/schemas/JobApplicationStatus8"
                    },
                    "job_application_status_logs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatusLog2"
                        }
                    },
                    "recruiter_files": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/EncodedFile7"
                        }
                    },
                    "source": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    }
                },
                "type": "object"
            },
            "PaginationLinks12": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus4": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User3": {
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus5": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterAccessGroup3": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PaginationLinks13": {
                "properties": {
                    "self": {
                        "type": "string"
                    },
                    "first": {
                        "type": "string"
                    },
                    "prev": {
                        "type": "string"
                    },
                    "next": {
                        "type": "string"
                    },
                    "last": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User4": {
                "required": [
                    "email"
                ],
                "properties": {
                    "access_group": {
                        "$ref": "#/components/schemas/RecruiterAccessGroup4"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "gender": {
                        "type": "string"
                    },
                    "ldap_username": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterTeamMembership": {
                "properties": {
                    "recruiter_team": {
                        "$ref": "#/components/schemas/RecruiterTeam2"
                    }
                },
                "type": "object"
            },
            "CustomFieldValue4": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EncodedFile5": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "file_type": {
                        "type": "string",
                        "enum": [
                            "doc",
                            "docx",
                            "pdf",
                            "rtf"
                        ]
                    }
                },
                "type": "object"
            },
            "CustomFieldValue5": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus6": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationControlResource2": {
                "properties": {
                    "applications_allowed": {
                        "type": "boolean"
                    },
                    "stop_applications_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User5": {
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "job_title": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterInstance2": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "xing_company_profile_url": {
                        "type": "string"
                    },
                    "redirect_url_after_application": {
                        "type": "string"
                    },
                    "is_legal_entity": {
                        "type": "boolean",
                        "default": false
                    }
                },
                "type": "object"
            },
            "JobTemplate2": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "name": {
                        "type": "string"
                    },
                    "html": {
                        "type": "string"
                    },
                    "job_banner_file": {
                        "$ref": "#/components/schemas/EncodedFile8"
                    },
                    "job_banner_footer_file": {
                        "$ref": "#/components/schemas/EncodedFile8"
                    },
                    "job_banner_social_media_file": {
                        "$ref": "#/components/schemas/EncodedFile8"
                    }
                },
                "type": "object"
            },
            "CustomFieldWithValues5": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue9"
                        }
                    }
                },
                "type": "object"
            },
            "JobContent2": {
                "properties": {
                    "is_changeable": {
                        "type": "boolean"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "content": {
                        "type": "string"
                    },
                    "type": {
                        "title": "One of: 'hiringOrganization', 'responsibilities', 'qualifications', 'incentives', 'contact' or null.",
                        "type": "string",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusSet3": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatus9"
                        }
                    }
                },
                "type": "object"
            },
            "JobSalaryInformation3": {
                "properties": {
                    "currency": {
                        "type": "string",
                        "default": "EUR"
                    },
                    "range_min": {
                        "type": "number",
                        "format": "float",
                        "nullable": true
                    },
                    "range_max": {
                        "type": "number",
                        "format": "float",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusReason": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "reason": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus7": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "has_mandatory_reasoning": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    },
                    "job_application_status_reasons": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JobApplicationStatusReason2"
                        }
                    }
                },
                "type": "object"
            },
            "IndustryTranslation2": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DepartmentTranslation2": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldValueTranslation2": {
                "properties": {
                    "locale": {
                        "description": "Two-letter code for the translation's language",
                        "type": "string",
                        "example": "en"
                    },
                    "value_label": {
                        "description": "Localised label for the value",
                        "type": "string",
                        "example": "Option 1"
                    }
                },
                "type": "object"
            },
            "CustomFieldTranslation2": {
                "properties": {
                    "locale": {
                        "description": "Two-letter code for the translation's language",
                        "type": "string",
                        "example": "en"
                    },
                    "label": {
                        "description": "Label for the field",
                        "type": "string",
                        "example": "Please upload your letter of application here"
                    },
                    "placeholder_value": {
                        "description": "Optional placeholder value for the field",
                        "type": "string",
                        "example": "Letter of application...",
                        "nullable": true
                    }
                },
                "type": "object"
            },
            "CustomFieldValue6": {
                "required": [
                    "value"
                ],
                "properties": {
                    "translations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValueTranslation3"
                        }
                    },
                    "position": {
                        "type": "integer",
                        "nullable": true
                    },
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldFileFormats2": {
                "required": [
                    "type"
                ],
                "properties": {
                    "accepted_formats": {
                        "description": "The allowed file extensions for this type",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "example": [
                            "doc",
                            "docx",
                            "pdf"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "images",
                            "documents",
                            "presentations",
                            "others"
                        ],
                        "example": "documents"
                    }
                },
                "type": "object"
            },
            "CityTranslation2": {
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Position2": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "description": {
                        "type": "string"
                    },
                    "company_name": {
                        "type": "string"
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "position_type": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "seniority": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "city": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Education2": {
                "properties": {
                    "school": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "subject": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "specialized_subjects": {
                        "type": "string"
                    },
                    "degree": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "Email2": {
                "properties": {
                    "type": {
                        "title": "'private' or 'work'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Im2": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Phonenumber2": {
                "properties": {
                    "type": {
                        "title": "'mobile', 'work', 'home', or 'fax'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Url2": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Language2": {
                "properties": {
                    "code": {
                        "title": "ISO 639-1 language code",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "level": {
                        "title": "'native', 'fluent', 'good', 'intermediate', 'basic', or 'beginner'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    }
                },
                "type": "object"
            },
            "Qualification2": {
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "year": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CustomFieldValue7": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Position3": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "description": {
                        "type": "string"
                    },
                    "company_name": {
                        "type": "string"
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "position_type": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "seniority": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "city": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Education3": {
                "properties": {
                    "school": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "subject": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "specialized_subjects": {
                        "type": "string"
                    },
                    "degree": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "Email3": {
                "properties": {
                    "type": {
                        "title": "'private' or 'work'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Im3": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Phonenumber3": {
                "properties": {
                    "type": {
                        "title": "'mobile', 'work', 'home', or 'fax'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Url3": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Language3": {
                "properties": {
                    "code": {
                        "title": "ISO 639-1 language code",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "level": {
                        "title": "'native', 'fluent', 'good', 'intermediate', 'basic', or 'beginner'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    }
                },
                "type": "object"
            },
            "Qualification3": {
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "year": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CustomFieldValue8": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Profile3": {
                "properties": {
                    "firstname": {
                        "type": "string",
                        "default": ""
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string",
                        "default": ""
                    },
                    "phone": {
                        "title": "Set phone",
                        "type": "string",
                        "pattern": ".*\\A[0-9\\(\\)/\\+ \\-]{0,255}\\z.*"
                    },
                    "avatar": {
                        "nullable": true,
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/EncodedFile6"
                            }
                        ]
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gender": {
                        "type": "string",
                        "enum": [
                            "m",
                            "f",
                            "d"
                        ]
                    },
                    "city_id": {
                        "title": "Get the city from the profiles address.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "homeaddress": {
                        "type": "string"
                    },
                    "street": {
                        "title": "Get the street from the profiles address.",
                        "type": "string"
                    },
                    "zip_code": {
                        "title": "Get the zipCode from the profiles address.",
                        "type": "string"
                    },
                    "city_name": {
                        "title": "Get the city name from the profiles address.",
                        "type": "string"
                    },
                    "country_of_residence": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "nationality": {
                        "title": "ISO 3166-1 alpha-2 country code",
                        "type": "string"
                    },
                    "awards": {
                        "type": "string"
                    },
                    "organizations": {
                        "type": "string"
                    },
                    "workaddress": {
                        "type": "string"
                    },
                    "positions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Position4"
                        }
                    },
                    "educations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Education4"
                        }
                    },
                    "current_position": {
                        "$ref": "#/components/schemas/Position4"
                    },
                    "current_education": {
                        "$ref": "#/components/schemas/Education4"
                    },
                    "interests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "skill_aliases": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                        }
                    },
                    "additional_emails": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Email4"
                        }
                    },
                    "ims": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Im4"
                        }
                    },
                    "additional_phones": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Phonenumber4"
                        }
                    },
                    "urls": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Url4"
                        }
                    },
                    "languages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Language4"
                        }
                    },
                    "advanced_trainings": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Qualification4"
                        }
                    }
                },
                "type": "object"
            },
            "User6": {
                "type": "object"
            },
            "CustomFieldWithValues6": {
                "properties": {
                    "custom_field_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldValue10"
                        }
                    }
                },
                "type": "object"
            },
            "JobApplication3": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "job_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    }
                },
                "type": "object"
            },
            "EncodedFile6": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "file_type": {
                        "type": "string",
                        "enum": [
                            "doc",
                            "docx",
                            "pdf",
                            "rtf"
                        ]
                    }
                },
                "type": "object"
            },
            "CandidateDuplicateLink2": {
                "type": "object"
            },
            "JobApplicationSourceTranslation2": {
                "properties": {
                    "title": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User7": {
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CandidateRating2": {
                "properties": {
                    "user": {
                        "$ref": "#/components/schemas/User8"
                    },
                    "rating": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus8": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusLog2": {
                "properties": {
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "job_application_status": {
                        "$ref": "#/components/schemas/JobApplicationStatus8"
                    },
                    "user": {
                        "$ref": "#/components/schemas/User8"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "start_reminder_at": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "EncodedFile7": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "is_visible_for_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "recruiter",
                            "candidate"
                        ]
                    },
                    "upload_context": {
                        "type": "string",
                        "enum": [
                            "application",
                            "custom_candidate_field",
                            "custom_job_field",
                            "custom_hiring_request_field",
                            "message"
                        ]
                    }
                },
                "type": "object"
            },
            "RecruiterAccessGroup4": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RecruiterTeam2": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EncodedFile8": {
                "properties": {
                    "filename": {
                        "type": "string"
                    },
                    "base64_content": {
                        "type": "string"
                    },
                    "file_type": {
                        "type": "string",
                        "enum": [
                            "doc",
                            "docx",
                            "pdf",
                            "rtf"
                        ]
                    }
                },
                "type": "object"
            },
            "CustomFieldValue9": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatus9": {
                "properties": {
                    "is_default": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_hired": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_rejected_by_candidate": {
                        "type": "boolean",
                        "default": false
                    },
                    "is_first_interview": {
                        "type": "boolean",
                        "default": false
                    },
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "abbreviation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JobApplicationStatusReason2": {
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "reason": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldValueTranslation3": {
                "properties": {
                    "locale": {
                        "description": "Two-letter code for the translation's language",
                        "type": "string",
                        "example": "en"
                    },
                    "value_label": {
                        "description": "Localised label for the value",
                        "type": "string",
                        "example": "Option 1"
                    }
                },
                "type": "object"
            },
            "Position4": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "department_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "description": {
                        "type": "string"
                    },
                    "company_name": {
                        "type": "string"
                    },
                    "industry_id": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "position_type": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "seniority": {
                        "$ref": "#/components/schemas/fieldValueToFind"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "city": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Education4": {
                "properties": {
                    "school": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "subject": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "specialized_subjects": {
                        "type": "string"
                    },
                    "degree": {
                        "$ref": "#/components/schemas/fieldValueToFindOrCreate"
                    },
                    "start_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "end_date": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object"
            },
            "Email4": {
                "properties": {
                    "type": {
                        "title": "'private' or 'work'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Im4": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Phonenumber4": {
                "properties": {
                    "type": {
                        "title": "'mobile', 'work', 'home', or 'fax'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Url4": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Language4": {
                "properties": {
                    "code": {
                        "title": "ISO 639-1 language code",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    },
                    "level": {
                        "title": "'native', 'fluent', 'good', 'intermediate', 'basic', or 'beginner'",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/fieldValueToFind"
                            }
                        ]
                    }
                },
                "type": "object"
            },
            "Qualification4": {
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "year": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CustomFieldValue10": {
                "required": [
                    "value"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User8": {
                "required": [
                    "email"
                ],
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "firstname": {
                        "type": "string"
                    },
                    "middlename": {
                        "type": "string"
                    },
                    "lastname": {
                        "type": "string"
                    }
                },
                "type": "object"
            }
        },
        "securitySchemes": {
            "api_key": {
                "type": "apiKey",
                "name": "apikey",
                "in": "header"
            },
            "oauth2": {
                "type": "oauth2",
                "flows": {
                    "clientCredentials": {
                        "tokenUrl": "/oauth2/token",
                        "scopes": {}
                    }
                }
            }
        }
    },
    "security": [
        {
            "api_key": []
        },
        {
            "oauth2": []
        }
    ],
    "tags": [
        {
            "name": "Application"
        },
        {
            "name": "Candidate"
        },
        {
            "name": "Job"
        },
        {
            "name": "User"
        },
        {
            "name": "Other"
        },
        {
            "name": "WhatsApp",
            "description": "WhatsApp"
        }
    ]
}