{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskInput",
  "title": "TaskInput",
  "type": "object",
  "description": "Input for creating or updating a task",
  "properties": {
    "title": {
      "type": "string",
      "description": "Title of the task"
    },
    "description": {
      "type": "string",
      "description": "Description of the task"
    },
    "assignee_id": {
      "type": "string",
      "description": "User identifier for the assignee"
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "description": "Due date for the task"
    },
    "campaign_id": {
      "type": "string",
      "description": "Associated campaign identifier"
    },
    "labels": {
      "type": "array",
      "description": "Labels to associate with the task",
      "items": {
        "type": "string"
      }
    }
  }
}