Deel subpackage_forms API

The subpackage_forms API from Deel — 2 operation(s) for subpackage_forms.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/deel-subpackage-forms-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

deel-subpackage-forms-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Endpoints subpackage_forms API
  version: 1.0.0
servers:
- url: https://api.letsdeel.com/rest/v2
- url: https://api-staging.letsdeel.com/rest/v2
tags:
- name: subpackage_forms
paths:
  /forms/eor/create-contract/definitions:
    post:
      operationId: fetch-multiple-eor-contract-forms
      summary: Fetch multiple EOR Contract forms
      description: "Retrieve paginated, versioned form definitions for creating EOR contracts for the specified countries. Use this endpoint when initializing or resuming a contract-creation flow to determine the required sections, fields, validation rules, and conditional logic per country (and optional contract type/locale). Always consume the latest effective version from the response and handle pagination. Not intended for reading or updating existing contracts.\n **Token scopes**: `forms:read`"
      tags:
      - subpackage_forms
      parameters:
      - name: limit
        in: query
        description: Maximum number of countries to return in a single response. Defaults to 10.
        required: false
        schema:
          type: integer
          default: 10
      - name: cursor
        in: query
        description: Pagination cursor for fetching subsequent pages of results.
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response containing multiple form configuration data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Forms_fetchMultipleEorContractForms_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FetchMultipleEorContractFormsRequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FetchMultipleEorContractFormsRequestInternalServerError'
      requestBody:
        description: Request body containing countries and optional parameters for bulk quote form fetching.
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostRequestBodyContentApplicationJsonSchemaData'
              required:
              - data
  /forms/eor/worker-additional-fields/{country_code}:
    get:
      operationId: get-worker-additional-fields-for-eor
      summary: Get worker additional fields for (EOR)
      description: "Use this endpoint to retrieve the additional form fields required for EOR workers in a specified country.\n **Token scopes**: `forms:read`"
      tags:
      - subpackage_forms
      parameters:
      - name: country_code
        in: path
        description: Country code
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Forms_getWorkerAdditionalFieldsForEor_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkerAdditionalFieldsForEorRequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkerAdditionalFieldsForEorRequestInternalServerError'
components:
  schemas:
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItems
    : type: object
      properties:
        title:
          type: string
          description: Title of the question.
        source:
          oneOf:
          - $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsSource'
          - type: 'null'
          description: Defines dynamic data source for the question.
        options:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsOptionsItems'
          description: List of selectable options for selection-type questions. Value may be of any type.
        is_range:
          type: boolean
          description: Specifies whether a date picker allows range selection.
        requires:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsRequiresItems'
          description: List of conditions that must be met for this rule to apply.
        max_value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsMaxValue'
          description: Maximum value allowed.
        min_value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsMinValue'
          description: Minimum value allowed.
        max_length:
          type:
          - integer
          - 'null'
          description: Maximum character length for text responses.
        min_length:
          type:
          - integer
          - 'null'
          description: Minimum character length for text responses.
        helper_text:
          type:
          - string
          - 'null'
          description: Additional information to assist the user.
        is_disabled:
          type: boolean
          description: If true, the field is disabled and cannot be edited.
        is_required:
          type: boolean
          description: Indicates if the question is required.
        number_type:
          type: string
          description: Used for number fields to define the unit or representation.
        default_value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsDefaultValue'
          description: Default value to pre-fill in the form.
        is_only_digits:
          type: boolean
          description: Restricts input to numeric characters only, for FreeText questions.
        date_limitation:
          type:
          - string
          - 'null'
          description: Limits date selection (e.g., blocking past dates). Will always be 'BLOCK_PAST' for now.
        is_multiple_selection:
          type: boolean
          description: Indicates if the user can select multiple values.
        must_request_validation:
          type: boolean
          description: Whether additional validation should be triggered for this field.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItems
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsSource
    : type: object
      properties:
        url:
          type: string
          description: API endpoint providing dynamic options.
        definition:
          type: string
          description: Reference URL for API documentation.
        description:
          type: string
          description: Description of the data source.
      description: Defines dynamic data source for the question.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsSource
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsDefaultValue
    : oneOf:
      - type: string
      - type: number
        format: double
      - type: boolean
      description: Default value to pre-fill in the form.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsDefaultValue
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsRequiresItemsValue
    : oneOf:
      - type: string
      - type: number
        format: double
      - type: boolean
      description: Expected value for the condition.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsRequiresItemsValue
    FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItems:
      type: object
      properties:
        key:
          type: string
          description: Unique key identifier for the question.
        type:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsType'
          description: Type of the question.
        rules:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItems'
          description: Validation rules for the question.
        title:
          type: string
          description: Title of the question.
        source:
          oneOf:
          - $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsSource'
          - type: 'null'
          description: Defines dynamic data source for the question.
        options:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsOptionsItems'
          description: List of selectable options for selection-type questions. Value may be of any type.
        is_range:
          type: boolean
          description: Specifies whether a date picker allows range selection.
        max_value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsMaxValue'
          description: Maximum value allowed.
        min_value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsMinValue'
          description: Minimum value allowed.
        max_length:
          type:
          - integer
          - 'null'
          description: Maximum character length for text responses.
        min_length:
          type:
          - integer
          - 'null'
          description: Minimum character length for text responses.
        helper_text:
          type:
          - string
          - 'null'
          description: Additional information to assist the user.
        is_disabled:
          type: boolean
          description: If true, the field is disabled and cannot be edited.
        is_required:
          type: boolean
          description: Indicates if the question is required.
        number_type:
          type: string
          description: Used for number fields to define the unit or representation.
        default_value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsDefaultValue'
          description: Default value to pre-fill in the form.
        is_only_digits:
          type: boolean
          description: Restricts input to numeric characters only, for FreeText questions.
        date_limitation:
          type:
          - string
          - 'null'
          description: Limits date selection (e.g., blocking past dates). Will always be 'BLOCK_PAST' for now.
        is_multiple_selection:
          type: boolean
          description: Indicates if the user can select multiple values.
        must_request_validation:
          type: boolean
          description: Whether additional validation should be triggered for this field.
      required:
      - key
      - type
      - title
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItems
    FormsEorCreateContractDefinitionsPostRequestBodyContentApplicationJsonSchemaData:
      type: object
      properties:
        countries:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostRequestBodyContentApplicationJsonSchemaDataCountriesItems'
          description: Array of countries for which to fetch quote forms. Maximum 10 countries per request.
        start_date:
          type: string
          format: date
          description: The selected start date of the contract in ISO 8601 formatted date string.
        work_hours_per_week:
          type: integer
          description: The selected number of work hours per week.
        contract_duration_in_days:
          type: integer
          description: The contract duration in days for definite contracts.
      required:
      - countries
      title: FormsEorCreateContractDefinitionsPostRequestBodyContentApplicationJsonSchemaData
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsType
    : type: string
      enum:
      - FreeText
      - Paragraph
      - SingleSelection
      - MultiSelection
      - Address
      - PhoneNumber
      - DocumentUpload
      - Number
      - Dropdown
      - DatePicker
      - Email
      description: Type of the question.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsType
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsOptionsItems
    : type: object
      properties:
        title:
          type: string
          description: Display text for the option.
        value:
          type:
          - string
          - 'null'
          description: Value associated with the option.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsOptionsItems
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsOptionsItems
    : type: object
      properties:
        title:
          type: string
          description: Display text for the option.
        value:
          type:
          - string
          - 'null'
          description: Value associated with the option.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsOptionsItems
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsMaxValue
    : oneOf:
      - type: string
      - type: number
        format: double
      description: Maximum value allowed.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsMaxValue
    FetchMultipleEorContractFormsRequestInternalServerError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaErrorsItems'
      title: FetchMultipleEorContractFormsRequestInternalServerError
    GetWorkerAdditionalFieldsForEorRequestBadRequestError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems'
      title: GetWorkerAdditionalFieldsForEorRequestBadRequestError
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsSource
    : type: object
      properties:
        url:
          type: string
          description: API endpoint providing dynamic options.
        definition:
          type: string
          description: Reference URL for API documentation.
        description:
          type: string
          description: Description of the data source.
      description: Defines dynamic data source for the question.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsSource
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        key:
          type: string
          description: Unique identifier for the field
        type:
          type: string
          description: Data type of the field
        ui_guide:
          $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsUiGuide'
          description: UI guidelines for rendering the field
        validation:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsValidationItems'
          description: Array of validation rules to apply to the field input
        is_required:
          type: boolean
          description: Indicates if the field is required
        required_by:
          type: string
          description: Indicates when the field is required (e.g., sign_up, contract_signing)
        dependencies:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItems'
          description: Array of field dependencies that determine when this field should be displayed
        values_allowed:
          type: array
          items:
            type: string
          description: List of allowed values for select fields
      required:
      - key
      - type
      - ui_guide
      - validation
      - is_required
      - dependencies
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItems
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsDefaultValue
    : oneOf:
      - type: string
      - type: number
        format: double
      - type: boolean
      description: Default value to pre-fill in the form.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsDefaultValue
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValue1:
      type: object
      properties:
        op:
          type: string
          description: Comparison operator (e.g., gt, gte, lt, lte, eq, neq)
        value:
          $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValueOneOf1Value'
      required:
      - op
      - value
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValue1
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItems:
      type: object
      properties:
        key:
          type: string
          description: Unique identifier for the dependant field
        value:
          $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValue'
          description: Value expected from dependant in order to display field. Can be a plain value or an object with an operator.
      required:
      - key
      - value
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItems
    FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaErrorsItems:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code
        message:
          type: string
          description: Human-readable explanation of the error
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaErrorsItems
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsMinValue
    : oneOf:
      - type: string
      - type: number
        format: double
      description: Minimum value allowed.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsMinValue
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValue:
      oneOf:
      - type: string
      - $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValue1'
      - type: array
        items:
          type: string
      description: Value expected from dependant in order to display field. Can be a plain value or an object with an operator.
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValue
    ApiError:
      type: object
      properties:
        message:
          type: string
          description: A description of the returned error
        path:
          type: string
          description: The JSON path where input validation failed
      title: ApiError
    FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItems:
      type: object
      properties:
        title:
          type: string
          description: Title of the section.
        subtitle:
          type: string
          description: Additional information shown at the top of the section.
        questions:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItems'
          description: List of questions within the section.
      required:
      - title
      - questions
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItems
    ? FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValueOneOf1Value
    : oneOf:
      - type: string
      - type: number
        format: double
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsDependenciesItemsValueOneOf1Value
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsUiGuide:
      type: object
      properties:
        label:
          type: string
          description: The primary label for the field
        order:
          type: integer
          description: Display order of the field in the UI
        field_type:
          type: string
          description: Type of the input field in the UI
        description:
          type: string
          description: Additional description for the field UI
        helper_text:
          type: string
          description: Helper text to guide user input
        local_label:
          type: string
          description: Localized version of the field label
      required:
      - label
      - order
      - field_type
      - description
      description: UI guidelines for rendering the field
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsUiGuide
    ApiErrorContainer:
      type: object
      properties:
        request:
          $ref: '#/components/schemas/ApiErrorRequest'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiError'
      title: ApiErrorContainer
    FormsEorCreateContractDefinitionsPostRequestBodyContentApplicationJsonSchemaDataCountriesItems:
      type: object
      properties:
        state:
          type: string
          description: The selected state code of the contract. This is only required for countries that specify it.
        country_code:
          type: string
          description: Two-letter country code in ISO 3166-1 alpha-2 format
      required:
      - country_code
      title: FormsEorCreateContractDefinitionsPostRequestBodyContentApplicationJsonSchemaDataCountriesItems
    Forms_getWorkerAdditionalFieldsForEor_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItems'
          description: Array of field configuration objects
      required:
      - data
      title: Forms_getWorkerAdditionalFieldsForEor_Response_200
    FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        pages:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItems'
          description: List of pages in the form.
        state:
          type:
          - string
          - 'null'
          description: State or province code if applicable
        country:
          type: string
          description: Two-letter country code in ISO 3166-1 alpha-2 format
      required:
      - pages
      - country
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItems
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code
        message:
          type: string
          description: Human-readable explanation of the error
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems
    FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsValidationItems:
      type: object
      properties:
        type:
          type: string
          description: Type of the validation
        value:
          type: string
          description: Value to be used in the validation according to the type
        error_message:
          type: string
          description: Error message shown if the validation fails
      required:
      - type
      - error_message
      description: Validation rules for the field
      title: FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaDataItemsValidationItems
    FetchMultipleEorContractFormsRequestBadRequestError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaErrorsItems'
      title: FetchMultipleEorContractFormsRequestBadRequestError
    GetWorkerAdditionalFieldsForEorRequestInternalServerError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorWorkerAdditionalFieldsCountryCodeGetResponsesContentApplicationJsonSchemaErrorsItems'
      title: GetWorkerAdditionalFieldsForEorRequestInternalServerError
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsMaxValue
    : oneOf:
      - type: string
      - type: number
        format: double
      description: Maximum value allowed.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsMaxValue
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsRequiresItems
    : type: object
      properties:
        key:
          type: string
          description: Key of the dependent field.
        value:
          $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsRequiresItemsValue'
          description: Expected value for the condition.
        operator:
          type:
          - string
          - 'null'
          description: Comparison operator (e.g., 'eq', 'ne').
        compare_key:
          type:
          - string
          - 'null'
          description: Key of the field to compare against.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsRulesItemsRequiresItems
    ? FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsMinValue
    : oneOf:
      - type: string
      - type: number
        format: double
      description: Minimum value allowed.
      title: FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDataItemsPagesItemsSectionsItemsQuestionsItemsMinValue
    Forms_fetchMultipleEorContractForms_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/FormsEorCreateContractDefinitionsPostResponsesContentApplicationJsonSchemaDat

# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/deel/refs/heads/main/openapi/deel-subpackage-forms-api-openapi.yml