Task category
Task category is a helper object that describes a single photo section of a photo report. It is filled in only for tasks of the PHOTO_REPORT type (passed in the taskCategories array when creating a task); for other task types it is ignored.
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| name | String | Category name shown to the executor | false |
| description | String | Category description / instructions for the executor | true |
| minAttachmentsCount | Integer | Minimum number of photos the executor must attach to this category | false |
| needComment | Boolean | Whether a comment is required for this category | false |
| orderNumber | Integer | Position of the category in the list | false |
| catalogId | Integer | Identifier of the catalog the category is linked to | true |
| catalogValueId | Integer | Identifier of the catalog value the category is linked to | true |