{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/onboard-io/json-schema/onboard-io-roadmap-task-serializer-schema.json",
  "title": "RoadmapTaskSerializer",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/onboard-io-openapi.json#/components/schemas/RoadmapTaskSerializer",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "roadmap_id": {
      "type": "string",
      "readOnly": true
    },
    "roadmap_status": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "task_id": {
      "type": "integer"
    },
    "is_global_task": {
      "type": "string",
      "readOnly": true
    },
    "record_type": {
      "type": "string",
      "readOnly": true
    },
    "description": {
      "type": "string"
    },
    "order": {
      "type": "integer",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "complete"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "is_section": {
      "type": "boolean"
    },
    "is_hidden": {
      "type": "boolean"
    },
    "is_internal": {
      "type": "boolean"
    },
    "is_optional": {
      "type": "boolean"
    },
    "onboardee_user": {
      "type": "string",
      "readOnly": true
    },
    "onboardee_user_id": {
      "type": "integer"
    },
    "onboarder_user": {
      "type": "string",
      "readOnly": true
    },
    "onboarder_user_id": {
      "type": "integer"
    },
    "due_date": {
      "type": "string",
      "format": "date"
    },
    "move_to": {
      "type": "integer"
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional ordered global task ids to import under a global section."
    },
    "description_preview": {
      "type": "string",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "completed_at": {
      "type": "string",
      "format": "date-time"
    },
    "completed_by_onboardee_user": {
      "type": "string",
      "readOnly": true
    },
    "completed_by_onboarder_user": {
      "type": "string",
      "readOnly": true
    },
    "completed_source": {
      "type": "string"
    },
    "assignee_email": {
      "type": "string",
      "format": "email"
    },
    "estimated_time": {
      "type": "integer"
    },
    "estimated_time_unit": {
      "type": "string",
      "enum": [
        "minutes",
        "hours",
        "days"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "estimated_time_raw": {
      "type": "integer"
    },
    "time_spent": {
      "type": "number",
      "format": "float"
    },
    "time_spent_unit": {
      "type": "string",
      "enum": [
        "minutes",
        "hours",
        "days"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "time_spent_raw": {
      "type": "integer"
    },
    "refresh": {
      "type": "string",
      "readOnly": true
    },
    "refresh_message": {
      "type": "string",
      "readOnly": true
    },
    "preview_status": {
      "type": "string",
      "enum": [
        "keep",
        "add",
        "remove"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "initial_preview_status": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "keep",
        "add",
        "remove"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "has_messages": {
      "type": "boolean",
      "readOnly": true
    },
    "external_id": {
      "type": "string"
    },
    "forms": {
      "type": "string",
      "readOnly": true
    },
    "time_tracking_enabled": {
      "type": "boolean"
    },
    "sf_task_id": {
      "type": "string"
    },
    "dependencies": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "start_date": {
      "type": "string",
      "format": "date"
    },
    "end_date": {
      "type": "string",
      "format": "date"
    },
    "sync_due_date": {
      "type": "boolean"
    },
    "category": {
      "type": "string",
      "enum": [
        "task",
        "survey",
        "form",
        "meeting",
        "document_signing",
        "training",
        "documentation",
        "chat_bot",
        "fideo_verify"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "embedded": {
      "type": "string"
    },
    "embedded_url": {
      "type": "string"
    },
    "embedded_option": {
      "type": "string",
      "enum": [
        "url",
        "owner",
        "assignee",
        "map",
        "customer"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "embedded_panel_title": {
      "type": "string"
    },
    "is_billable": {
      "type": "boolean"
    },
    "due_date_type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "before_target_launch_date",
        "after_target_launch_date",
        "before_created_date",
        "after_created_date",
        "days_after_previous_task_completed",
        "days_after_specific_task_completed",
        "days_after_previous_task_due",
        "days_after_specific_task_due"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "due_date_enabled": {
      "type": "boolean",
      "readOnly": true
    },
    "due_date_days": {
      "type": "integer"
    },
    "due_date_days_after_specific_task_completed_roadmap_task_id": {
      "type": "integer"
    },
    "due_date_days_after_specific_task_due_roadmap_task_id": {
      "type": "integer"
    },
    "embedded_url_merge_tag": {
      "type": "string",
      "readOnly": true
    },
    "is_outboard_one_off_task": {
      "type": "boolean",
      "readOnly": true
    },
    "is_ttv": {
      "type": "boolean",
      "description": "Time to Value task - only one task per project template, global tasks, or roadmap can be marked as TTV"
    },
    "signing": {
      "type": "string",
      "readOnly": true
    },
    "fideo_verify": {
      "type": "string",
      "readOnly": true
    },
    "content_type": {
      "type": "string",
      "enum": [
        "article",
        "toc",
        "changelog",
        "faq"
      ],
      "x-onboard-source": "serializer-or-model-choices"
    },
    "toc_article_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "is_featured": {
      "type": "boolean",
      "description": "Feature this article on the Knowledge Base landing page."
    },
    "custom": {
      "type": "string"
    }
  }
}