{
  "service": "dida365",
  "displayName": "Dida365",
  "categories": [
    "Productivity"
  ],
  "authTypes": [
    "oauth2"
  ],
  "auth": [
    {
      "type": "oauth2",
      "authorizationUrl": "https://dida365.com/oauth/authorize",
      "tokenUrl": "https://dida365.com/oauth/token",
      "scopes": [
        "tasks:read",
        "tasks:write"
      ],
      "tokenEndpointAuthMethod": "client_secret_basic"
    }
  ],
  "homepageUrl": "https://dida365.com",
  "actions": [
    {
      "id": "dida365.complete_task",
      "service": "dida365",
      "name": "complete_task",
      "description": "Mark a Dida365 task as completed by project ID and task ID.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          },
          "taskId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 task ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for looking up a Dida365 task."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "completed": {
            "const": true,
            "type": "boolean"
          },
          "projectId": {
            "type": "string",
            "description": "The Dida365 project ID."
          },
          "taskId": {
            "type": "string",
            "description": "The Dida365 task ID."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.create_or_update_habit_checkin",
      "service": "dida365",
      "name": "create_or_update_habit_checkin",
      "description": "Create or update a Dida365 habit check-in for a date stamp.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "habitId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 habit ID."
          },
          "stamp": {
            "type": "integer",
            "description": "A date stamp in YYYYMMDD format."
          },
          "time": {
            "type": "string",
            "description": "The Dida365 date-time string in yyyy-MM-dd'T'HH:mm:ssZ format."
          },
          "opTime": {
            "type": "string",
            "description": "The Dida365 date-time string in yyyy-MM-dd'T'HH:mm:ssZ format."
          },
          "value": {
            "type": "number",
            "description": "The check-in value."
          },
          "goal": {
            "type": "number",
            "description": "The check-in goal."
          },
          "status": {
            "type": "integer",
            "description": "The check-in status."
          }
        },
        "additionalProperties": false,
        "required": [
          "habitId",
          "stamp"
        ],
        "description": "The input payload for creating or updating a Dida365 habit check-in."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "checkin": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 habit check-in group."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.create_project",
      "service": "dida365",
      "name": "create_project",
      "description": "Create a Dida365 project with optional color, sort order, view mode, and kind.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project name."
          },
          "color": {
            "type": "string",
            "description": "The Dida365 project color."
          },
          "sortOrder": {
            "type": "integer",
            "description": "The sort order value."
          },
          "viewMode": {
            "type": "string",
            "enum": [
              "list",
              "kanban",
              "timeline"
            ],
            "description": "The Dida365 project view mode."
          },
          "kind": {
            "type": "string",
            "enum": [
              "TASK",
              "NOTE",
              "task",
              "note"
            ],
            "description": "The Dida365 project kind."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "The input payload for creating a Dida365 project."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 project."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.create_task",
      "service": "dida365",
      "name": "create_task",
      "description": "Create a Dida365 task under a project with optional schedule, reminders, recurrence, and checklist items.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 task title."
          },
          "content": {
            "type": "string",
            "description": "The Dida365 task content."
          },
          "desc": {
            "type": "string",
            "description": "The Dida365 task description."
          },
          "isAllDay": {
            "type": "boolean",
            "description": "Whether the Dida365 task is all day."
          },
          "startDate": {
            "type": "string",
            "description": "The task start date-time string."
          },
          "dueDate": {
            "type": "string",
            "description": "The task due date-time string."
          },
          "timeZone": {
            "type": "string",
            "description": "The Dida365 task time zone."
          },
          "reminders": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "A Dida365 reminder trigger string."
            },
            "description": "The reminder trigger strings attached to the task."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "The Dida365 tags attached to the task."
          },
          "repeatFlag": {
            "type": "string",
            "description": "The Dida365 recurrence rule string."
          },
          "priority": {
            "anyOf": [
              {
                "const": 0,
                "type": "number"
              },
              {
                "const": 1,
                "type": "number"
              },
              {
                "const": 3,
                "type": "number"
              },
              {
                "const": 5,
                "type": "number"
              }
            ],
            "description": "The Dida365 priority value. Valid values are 0, 1, 3, and 5."
          },
          "sortOrder": {
            "type": "integer",
            "description": "The sort order value."
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The checklist item ID."
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The checklist item title."
                },
                "status": {
                  "type": "integer",
                  "description": "The checklist item status. Use 0 for normal and 1 for completed."
                },
                "isAllDay": {
                  "type": "boolean",
                  "description": "Whether the checklist item is all day."
                },
                "timeZone": {
                  "type": "string",
                  "description": "The time zone for the checklist item."
                },
                "sortOrder": {
                  "type": "integer",
                  "description": "The sort order value."
                },
                "startDate": {
                  "type": "string",
                  "description": "The checklist item start date-time string."
                },
                "completedTime": {
                  "type": "string",
                  "description": "The checklist item completion date-time string."
                }
              },
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "description": "A checklist item payload sent to Dida365."
            },
            "description": "The checklist items to create under the task."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "title"
        ],
        "description": "The input payload for creating a Dida365 task."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "task": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 task."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.delete_project",
      "service": "dida365",
      "name": "delete_project",
      "description": "Delete a Dida365 project by project ID. A missing project is treated as already deleted.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for looking up a Dida365 project."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deleted": {
            "const": true,
            "type": "boolean"
          },
          "projectId": {
            "type": "string",
            "description": "The Dida365 project ID."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.delete_task",
      "service": "dida365",
      "name": "delete_task",
      "description": "Delete a Dida365 task by project ID and task ID. A missing task is treated as already deleted.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          },
          "taskId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 task ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for looking up a Dida365 task."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deleted": {
            "const": true,
            "type": "boolean"
          },
          "projectId": {
            "type": "string",
            "description": "The Dida365 project ID."
          },
          "taskId": {
            "type": "string",
            "description": "The Dida365 task ID."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.filter_tasks",
      "service": "dida365",
      "name": "filter_tasks",
      "description": "Filter Dida365 tasks by project, date range, priority, tags, and status.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Dida365 project ID."
            },
            "description": "An optional list of project IDs to filter by."
          },
          "startDate": {
            "type": "string",
            "description": "The Dida365 date-time string in yyyy-MM-dd'T'HH:mm:ssZ format."
          },
          "endDate": {
            "type": "string",
            "description": "The Dida365 date-time string in yyyy-MM-dd'T'HH:mm:ssZ format."
          },
          "priority": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "const": 0,
                  "type": "number"
                },
                {
                  "const": 1,
                  "type": "number"
                },
                {
                  "const": 3,
                  "type": "number"
                },
                {
                  "const": 5,
                  "type": "number"
                }
              ],
              "description": "The Dida365 priority value. Valid values are 0, 1, 3, and 5."
            },
            "description": "An optional list of Dida365 priority values."
          },
          "tag": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "An optional list of Dida365 tag values."
          },
          "status": {
            "type": "array",
            "items": {
              "type": "integer",
              "description": "A Dida365 status code."
            },
            "description": "An optional list of Dida365 task status codes."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for filtering Dida365 tasks."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "tasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 task."
            },
            "description": "The Dida365 tasks returned by the filter."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.get_habit",
      "service": "dida365",
      "name": "get_habit",
      "description": "Get a Dida365 habit by its habit ID.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "habitId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 habit ID."
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "habit": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 habit."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.get_project_by_id",
      "service": "dida365",
      "name": "get_project_by_id",
      "description": "Get a Dida365 project by its project ID.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for looking up a Dida365 project."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 project."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.get_project_with_data",
      "service": "dida365",
      "name": "get_project_with_data",
      "description": "Get a Dida365 project together with its undone tasks and columns by project ID.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for looking up a Dida365 project."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 project."
          },
          "tasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 task."
            },
            "description": "The undone tasks under the project."
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 project column."
            },
            "description": "The columns under the project."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.get_task_by_project_and_id",
      "service": "dida365",
      "name": "get_task_by_project_and_id",
      "description": "Get a Dida365 task by project ID and task ID.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          },
          "taskId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 task ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for looking up a Dida365 task."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "task": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 task."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.get_user_project",
      "service": "dida365",
      "name": "get_user_project",
      "description": "List the projects available to the connected Dida365 account.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for listing Dida365 projects."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 project."
            },
            "description": "The Dida365 projects."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.list_all_tasks",
      "service": "dida365",
      "name": "list_all_tasks",
      "description": "List undone Dida365 tasks across projects.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of tasks to return after aggregation."
          },
          "projectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Dida365 project ID."
            },
            "description": "An optional list of project IDs to include."
          },
          "includeClosedProjects": {
            "type": "boolean",
            "description": "Whether closed projects should be included in the aggregation."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for aggregating Dida365 tasks."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "tasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 task with project context added by the connector."
            },
            "description": "The aggregated undone tasks across the scanned projects."
          },
          "totalTasks": {
            "type": "integer",
            "description": "The number of tasks returned by the connector."
          },
          "projectsScanned": {
            "type": "integer",
            "description": "The number of projects scanned by the connector."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.list_completed_tasks",
      "service": "dida365",
      "name": "list_completed_tasks",
      "description": "List completed Dida365 tasks within optional project and date filters.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Dida365 project ID."
            },
            "description": "An optional list of project IDs to filter by."
          },
          "startDate": {
            "type": "string",
            "description": "The Dida365 date-time string in yyyy-MM-dd'T'HH:mm:ssZ format."
          },
          "endDate": {
            "type": "string",
            "description": "The Dida365 date-time string in yyyy-MM-dd'T'HH:mm:ssZ format."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for listing completed Dida365 tasks."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "tasks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 task."
            },
            "description": "The completed Dida365 tasks."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.list_habit_checkins",
      "service": "dida365",
      "name": "list_habit_checkins",
      "description": "List Dida365 habit check-ins for one or more habits over a date stamp range.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "habitIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "The Dida365 habit ID."
            },
            "description": "The Dida365 habit IDs to query.",
            "minItems": 1
          },
          "from": {
            "type": "integer",
            "description": "A date stamp in YYYYMMDD format."
          },
          "to": {
            "type": "integer",
            "description": "A date stamp in YYYYMMDD format."
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "checkins": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 habit check-in group."
            },
            "description": "The Dida365 habit check-in groups."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.list_habits",
      "service": "dida365",
      "name": "list_habits",
      "description": "List habits available to the connected Dida365 account.",
      "requiredScopes": [
        "tasks:read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for listing Dida365 habits."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "habits": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Dida365 habit."
            },
            "description": "The Dida365 habits."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.move_tasks",
      "service": "dida365",
      "name": "move_tasks",
      "description": "Move one or more Dida365 tasks between projects.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "moves": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fromProjectId": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The source Dida365 project ID."
                },
                "toProjectId": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The destination Dida365 project ID."
                },
                "taskId": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The Dida365 task ID to move."
                }
              },
              "additionalProperties": false,
              "description": "A single Dida365 task move operation."
            },
            "description": "The Dida365 task move operations to submit.",
            "minItems": 1
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "moves": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "The Dida365 move result."
            },
            "description": "The Dida365 move results."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.update_project",
      "service": "dida365",
      "name": "update_project",
      "description": "Update a Dida365 project by project ID.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project name."
          },
          "color": {
            "type": "string",
            "description": "The Dida365 project color."
          },
          "sortOrder": {
            "type": "integer",
            "description": "The sort order value."
          },
          "viewMode": {
            "type": "string",
            "enum": [
              "list",
              "kanban",
              "timeline"
            ],
            "description": "The Dida365 project view mode."
          },
          "kind": {
            "type": "string",
            "enum": [
              "TASK",
              "NOTE",
              "task",
              "note"
            ],
            "description": "The Dida365 project kind."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId"
        ],
        "description": "The input payload for updating a Dida365 project."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 project."
          }
        },
        "additionalProperties": false
      }
    },
    {
      "id": "dida365.update_task",
      "service": "dida365",
      "name": "update_task",
      "description": "Update a Dida365 task by task ID and project ID.",
      "requiredScopes": [
        "tasks:write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 task ID."
          },
          "id": {
            "type": "string",
            "description": "Optional task ID repeated in the request body."
          },
          "projectId": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 project ID."
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "The Dida365 task title."
          },
          "content": {
            "type": "string",
            "description": "The Dida365 task content."
          },
          "desc": {
            "type": "string",
            "description": "The Dida365 task description."
          },
          "isAllDay": {
            "type": "boolean",
            "description": "Whether the Dida365 task is all day."
          },
          "startDate": {
            "type": "string",
            "description": "The task start date-time string."
          },
          "dueDate": {
            "type": "string",
            "description": "The task due date-time string."
          },
          "timeZone": {
            "type": "string",
            "description": "The Dida365 task time zone."
          },
          "reminders": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "A Dida365 reminder trigger string."
            },
            "description": "The reminder trigger strings attached to the task."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "description": "The Dida365 tags attached to the task."
          },
          "repeatFlag": {
            "type": "string",
            "description": "The Dida365 recurrence rule string."
          },
          "priority": {
            "anyOf": [
              {
                "const": 0,
                "type": "number"
              },
              {
                "const": 1,
                "type": "number"
              },
              {
                "const": 3,
                "type": "number"
              },
              {
                "const": 5,
                "type": "number"
              }
            ],
            "description": "The Dida365 priority value. Valid values are 0, 1, 3, and 5."
          },
          "sortOrder": {
            "type": "integer",
            "description": "The sort order value."
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The checklist item ID."
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The checklist item title."
                },
                "status": {
                  "type": "integer",
                  "description": "The checklist item status. Use 0 for normal and 1 for completed."
                },
                "isAllDay": {
                  "type": "boolean",
                  "description": "Whether the checklist item is all day."
                },
                "timeZone": {
                  "type": "string",
                  "description": "The time zone for the checklist item."
                },
                "sortOrder": {
                  "type": "integer",
                  "description": "The sort order value."
                },
                "startDate": {
                  "type": "string",
                  "description": "The checklist item start date-time string."
                },
                "completedTime": {
                  "type": "string",
                  "description": "The checklist item completion date-time string."
                }
              },
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "description": "A checklist item payload sent to Dida365."
            },
            "description": "The checklist items to create under the task."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "taskId"
        ],
        "description": "The input payload for updating a Dida365 task."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "task": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Dida365 task."
          }
        },
        "additionalProperties": false
      }
    }
  ]
}
