{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Task", "title": "Task", "type": "object", "properties": { "id": { "type": "integer", "description": "Unique ID of the task." }, "title": { "type": "string", "description": "Title of the task." }, "description": { "type": "string", "description": "Description of the task." }, "due_date": { "type": "string", "format": "date-time", "description": "Due date and time." }, "owner_id": { "type": "integer", "description": "ID of the task owner." }, "status": { "type": "integer", "description": "Status of the task. 0=Open, 1=Completed." }, "task_type_id": { "type": "integer", "description": "ID of the task type." }, "outcome_id": { "type": "integer", "description": "ID of the task outcome." }, "targetable_type": { "type": "string", "description": "Type of the associated record (Contact, Deal, Lead)." }, "targetable_id": { "type": "integer", "description": "ID of the associated record." }, "created_at": { "type": "string", "format": "date-time", "description": "Timestamp when created." }, "updated_at": { "type": "string", "format": "date-time", "description": "Timestamp when last updated." } } }