Toloka

Input data

Input data is the parameters of objects shown in the task, such as a URL, image, or text. You must assign an identifier to each object, define the data type and specify if the object is required in a task.

Go the the project page and set the parameters using the way that is easier for you:

In the input data fields

Click Add field in the Specifications block on the project page and fill in the fields:

Field

Description

Name

Object identifier (in lowercase).

Type

Data type:

  • String.

  • URL.

  • Boolean.

  • Integer.

  • Float.

  • Coordinates.

  • JSON.

Required

Whether filling in the field is required when completing the task.

Allowed values

Allowed values (for string, integer, float and boolean data types).

Min length

Restrictions for the length of the string.

Max length

Min value

Range of values for float and integer numbers.

Max value

In JSON format

Click and set input data parameters in JSON. Possible types of objects and their parameters:

String
"my_string
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "string", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true, "min_length
[no-highlight[

Description

Minimum length of the string.

Required

No.

]no-highlight]
": 10, "max_length
[no-highlight[

Description

Maximum length of the string.

Required

No.

]no-highlight]
": 100, "allowed_values
[no-highlight[

Description

Allowed values (array).

Required

No.

]no-highlight]
": ["a11", "b22", "c33"] }
URL.
"my_url
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "url", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true }
Boolean.
"my_boolean
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "boolean", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true }
Integer
"my_integer
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "integer", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": false, "min_value
[no-highlight[

Description

Minimum value.

Required

No.

]no-highlight]
": 1, "max_value
[no-highlight[

Description

Maximum value.

Required

No.

]no-highlight]
": 100, "allowed_values
[no-highlight[

Description

Allowed values (array).

Required

No.

]no-highlight]
": [10, 20, 30] }
Float.
"my_float
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "float", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true, "min_value
[no-highlight[

Description

Minimum value.

Required

No.

]no-highlight]
": 10.11, "max_value
[no-highlight[

Description

Maximum value.

Required

No.

]no-highlight]
": 65.51 "allowed_values
[no-highlight[

Description

Allowed values (array).

Required

No.

]no-highlight]
": [10.15, 20.15, 30.15] }
Coordinates.
"my_coordinates
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "coordinates", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true }
JSON
"my_json
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "json", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true }

Below is an example of JSON for showing a picture in the task. JSON contains parameters:

  • Data type — URL (images must be stored in the internet, for example, on Yandex.Disk). Add links to images when loading tasks into the pool.

  • Whether an image is required in the task.

{
    "image
[no-highlight[

Description

Object identifier in lower case.

Required

Yes.

]no-highlight]
": { "type
[no-highlight[

Description

Data type:

  • url — URL of an image, page, and so on.

    Images for tasks must be stored in the internet, for example, on Yandex.Disk.

  • boolean — Logical data type (true/false).

  • integer — Integer number.

  • string — String.

  • float — Floating point number.

  • json — JSON object.

  • coordinates — Geographical coordinates, such as “53.910236,27.531110”.

Required

Yes.

]no-highlight]
": "url", "required
[no-highlight[

Description

Whether the object is required (true/false). By default, it is “true”.

Required

No.

]no-highlight]
": true } }