Toloka documentation

JsonSpec

toloka.client.project.field_spec.JsonSpec | Source code

JsonSpec(
    self,
    *,
    required: Optional[bool] = True,
    hidden: Optional[bool] = False
)

A JSON object field specification

Parameters Description

Parameters Type Description
required Optional[bool]

Whether the object or input field is required.

hidden Optional[bool]

Whether to hide the input field from Tolokers.