{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/syntheticbrew-ai/json-schema/syntheticbrew-ai-post-api-v1-tasks-request-schema.json",
  "title": "PostApiV1TasksRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/syntheticbrew-ai-getting-started-openapi-generated.yml#/components/schemas/PostApiV1TasksRequest",
  "type": "object",
  "properties": {
    "parent_task_id": {
      "type": "string",
      "description": "ID of the parent task."
    },
    "title": {
      "type": "string",
      "description": "Task title."
    },
    "description": {
      "type": "string",
      "description": "Task description."
    },
    "agent_name": {
      "type": "string",
      "description": "Agent name."
    },
    "mode": {
      "type": "string",
      "description": "interactive or background."
    },
    "priority": {
      "type": "string",
      "description": "0 (normal), 1 (high), or 2 (critical)."
    },
    "acceptance_criteria": {
      "type": "string",
      "description": "List of acceptance criteria."
    },
    "blocked_by": {
      "type": "string",
      "description": "List of blocker IDs."
    },
    "require_approval": {
      "type": "string",
      "description": "If true, initial status is draft."
    }
  },
  "required": [
    "parent_task_id",
    "title",
    "agent_name"
  ]
}