{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/guidecx/json-schema/guidecx-update-task-data-schema.json",
  "title": "UpdateTaskData",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/guidecx-openapi-v2.json#/components/schemas/UpdateTaskData",
  "properties": {
    "assigneeId": {
      "$ref": "#/$defs/GlobalId"
    },
    "description": {
      "type": "string"
    },
    "completedAt": {
      "type": "string",
      "format": "date-time"
    },
    "dueOn": {
      "type": "string",
      "format": "date-time"
    },
    "estimatedHours": {
      "type": "number",
      "format": "double"
    },
    "name": {
      "type": "string"
    },
    "responsibility": {
      "type": "string",
      "enum": [
        "CUSTOMER",
        "THIRD_PARTY",
        "INTERNAL"
      ],
      "nullable": false
    },
    "startOn": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "enum": [
        "DONE",
        "NOT_STARTED",
        "WORKING_ON_IT",
        "STUCK",
        "SIGN_OFF",
        "NOT_APPLICABLE",
        "NOT_SCHEDULED",
        "SCHEDULED"
      ],
      "nullable": false
    },
    "dependencyInfo": {
      "$ref": "#/$defs/DependencyInfo"
    }
  },
  "type": "object",
  "additionalProperties": false,
  "$defs": {
    "DependencyInfo": {
      "properties": {
        "id": {
          "anyOf": [
            {
              "$ref": "#/$defs/GlobalId"
            },
            {
              "type": "number",
              "format": "double"
            }
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "TASK",
            "MILESTONE",
            "TEMPLATE",
            "TASK_GROUP"
          ],
          "nullable": false
        }
      },
      "required": [
        "id",
        "type"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "GlobalId": {
      "type": "string",
      "description": "Unique ID for GUIDEcx platform resources"
    }
  }
}