---
title: "Request job scope validation"
method: POST
path: "/eor/job-scopes/validate"
tags: ["eorJobScopes"]
---

# Request job scope validation

`POST /eor/job-scopes/validate`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/eor/job-scopes/validate`
- Auth: HTTP bearer

Validates a job scope description and returns any validation errors. When errors are present, the response also includes a `quote_validation_log_public_id` and pre-populated `data_for_corrected_job_scope_endpoint` to support subsequent correction.

 **Token scopes**: `contracts:write`

## Request body

- object
  - `data` EorJobScopesValidatePostRequestBodyContentApplicationJsonSchemaData, required: details of job scope
    - `team_id` string, uuid, required: The ID of the team.
    - `job_scope` string, required: The scope of the job.
    - `job_title` string, required: The title of the job.
    - `work_visa` boolean: Indicates if a work visa is required.
    - `client_name` string: Optional client name. The validation refuses a job scope if it includes the client name. If not provided, it will be inferred from the legal entity instead.
    - `employee_name` string, required: The name of the employee.
    - `special_job_id` string, uuid, nullable: The ID of the special job.
    - `employment_state` string, nullable: The state of employment.
    - `employment_country` string, required: The country of employment.
    - `employee_nationality` string: The nationality of the employee.
    - `client_legal_entity_id` string, uuid, required: The ID of the client's legal entity.

## Response `200`

Successful operation.

- EorJobScopesValidateJobScopeResponse200
  - `errors` EorJobScopesValidatePostResponsesContentApplicationJsonSchemaErrorsItems[]: List of validation errors, if empty the validation was successfully.
    - `path` string: The JSON path where input validation failed
    - `message` string: A description of the returned error
  - `quote_validation_log_public_id` string: Id from validation request.
  - `data_for_corrected_job_scope_endpoint` EorJobScopesValidatePostResponsesContentApplicationJsonSchemaDataForCorrectedJobScopeEndpoint: Data for corrected job scope endpoint.
    - `anonymized_job_scope` string, nullable: Anonymized job scope.
    - `errors_for_correct_job_scope` EorJobScopesValidatePostResponsesContentApplicationJsonSchemaDataForCorrectedJobScopeEndpointErrorsForCorrectJobScopeItems[]: List of errors for corrected job scope.
      - `message` string: Message with error description
    - `must_create_correct_job_scope` boolean: Indicates if a corrected job scope is required.

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/eor-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/eor-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/eor-endpoints/revisions/7a55c7caa6dc?raw)
