{ "name": "Task", "type": "object", "properties": { "task_name": { "type": "string", "description": "Name of the task" }, "description": { "type": "string", "description": "Task description" }, "team_id": { "type": "string", "description": "ID of the team this task belongs to" }, "status": { "type": "string", "enum": [ "pending", "in_progress", "on_hold", "completed" ], "default": "pending", "description": "Current status of the task" }, "priority": { "type": "string", "enum": [ "low", "normal", "high" ], "default": "normal", "description": "Task priority" }, "due_date": { "type": "string", "format": "date", "description": "Due date" }, "progress": { "type": "number", "minimum": 0, "maximum": 100, "default": 0, "description": "Task completion percentage" }, "assigned_members": { "type": "array", "description": "Team members assigned to this task", "items": { "type": "object", "properties": { "member_id": { "type": "string" }, "member_name": { "type": "string" }, "avatar_url": { "type": "string" } } } }, "owner_id": { "type": "string", "description": "Task owner ID" }, "owner_name": { "type": "string", "description": "Task owner name" }, "files": { "type": "array", "description": "Attached files", "items": { "type": "object", "properties": { "file_name": { "type": "string" }, "file_url": { "type": "string" }, "file_size": { "type": "number" }, "uploaded_by": { "type": "string" }, "uploaded_at": { "type": "string", "format": "date-time" } } } }, "attachment_count": { "type": "number", "default": 0, "description": "Number of attachments" }, "comment_count": { "type": "number", "default": 0, "description": "Number of comments" }, "notes": { "type": "string", "description": "Additional notes" }, "order_index": { "type": "number", "description": "Order within the column" } }, "required": [ "task_name", "team_id" ] }