{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-task-schema.json", "title": "Task", "description": "Task Details", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/brevo-tasks-api-openapi.yml#/components/schemas/Task", "type": "object", "properties": { "id": { "type": "string", "description": "Unique task id" }, "taskTypeId": { "type": "string", "description": "Id for type of task e.g Call / Email / Meeting etc." }, "name": { "type": "string", "description": "Name of task" }, "companiesIds": { "type": "array", "items": { "type": "string" }, "description": "Companies ids for companies a task is linked to" }, "dealsIds": { "type": "array", "items": { "type": "string" }, "description": "Deal ids for deals a task is linked to" }, "contactsIds": { "type": "array", "items": { "type": "integer" }, "description": "Contact ids for contacts linked to this task" }, "assignToId": { "type": "string", "description": "Account id of the user assigned to this task" }, "date": { "type": "string", "format": "date-time", "description": "Task due date and time" }, "notes": { "type": "string", "description": "Notes added to a task" }, "done": { "type": "boolean", "description": "Whether the task is marked as done" }, "createdAt": { "type": "string", "format": "date-time", "description": "Task creation date/time" }, "updatedAt": { "type": "string", "format": "date-time", "description": "Task last update date/time" } }, "required": [ "taskTypeId", "name", "date" ] }