{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-planner-task-schema.json",
  "title": "microsoft.graph.plannerTask",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-groups-plannergroup-api-openapi.yml#/components/schemas/microsoft.graph.plannerTask",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "plannerTask",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "activeChecklistItemCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Number of checklist items with value set to false, representing incomplete items.",
          "format": "int32"
        },
        "appliedCategories": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerAppliedCategories"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The categories to which the task has been applied. See applied Categories for possible values."
        },
        "assigneePriority": {
          "type": [
            "string",
            "null"
          ],
          "description": "Hint used to order items of this type in a list view. The format is defined as outlined here."
        },
        "assignments": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerAssignments"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The set of assignees the task is assigned to."
        },
        "bucketId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It's 28 characters long and case-sensitive. Format validation is done on the service."
        },
        "checklistItemCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Number of checklist items that are present on the task.",
          "format": "int32"
        },
        "completedBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identitySet"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity of the user that completed the task."
        },
        "completedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "conversationThreadId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group."
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identitySet"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Identity of the user that created the task."
        },
        "createdDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Read-only. Date and time at which the task is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "dueDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "hasDescription": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Read-only. Value is true if the details object of the task has a nonempty description and false otherwise."
        },
        "orderHint": {
          "type": [
            "string",
            "null"
          ],
          "description": "Hint used to order items of this type in a list view. The format is defined as outlined here."
        },
        "percentComplete": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Percentage of task completion. When set to 100, the task is considered completed.",
          "format": "int32"
        },
        "planId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Plan ID to which the task belongs."
        },
        "previewType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerPreviewType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference."
        },
        "priority": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Priority of the task. The valid range of values is between 0 and 10, with the increasing value being lower priority (0 has the highest priority and 10 has the lowest priority).  Currently, Planner interprets values 0 and 1 as 'urgent', 2, 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'.  Additionally, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'.",
          "format": "int32"
        },
        "referenceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": [
            "number",
            "null"
          ],
          "description": "Number of external references that exist on the task.",
          "format": "int32"
        },
        "startDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "Date and time at which the task starts. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
          "format": "date-time"
        },
        "title": {
          "type": "string",
          "description": "Title of the task."
        },
        "assignedToTaskBoardFormat": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerAssignedToTaskBoardTaskFormat"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo.",
          "x-ms-navigationProperty": true
        },
        "bucketTaskBoardFormat": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerBucketTaskBoardTaskFormat"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket.",
          "x-ms-navigationProperty": true
        },
        "details": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerTaskDetails"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Read-only. Nullable. More details about the task.",
          "x-ms-navigationProperty": true
        },
        "progressTaskBoardFormat": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerProgressTaskBoardTaskFormat"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.plannerTask",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identity": {
      "title": "identity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identitySet": {
      "title": "identitySet",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "application": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The application associated with this action."
        },
        "device": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The device associated with this action."
        },
        "user": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The user associated with this action."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerAppliedCategories": {
      "title": "plannerAppliedCategories",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerAssignedToTaskBoardTaskFormat": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "plannerAssignedToTaskBoardTaskFormat",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "orderHintsByAssignee": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.plannerOrderHintsByAssignee"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here."
            },
            "unassignedOrderHint": {
              "type": [
                "string",
                "null"
              ],
              "description": "Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.plannerAssignedToTaskBoardTaskFormat"
    },
    "microsoft.graph.plannerAssignments": {
      "title": "plannerAssignments",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerBucketTaskBoardTaskFormat": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "plannerBucketTaskBoardTaskFormat",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "orderHint": {
              "type": [
                "string",
                "null"
              ],
              "description": "Hint used to order tasks in the bucket view of the task board. For details about the supported format, see Using order hints in Planner."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.plannerBucketTaskBoardTaskFormat"
    },
    "microsoft.graph.plannerChecklistItems": {
      "title": "plannerChecklistItems",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerExternalReferences": {
      "title": "plannerExternalReferences",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerOrderHintsByAssignee": {
      "title": "plannerOrderHintsByAssignee",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerPreviewType": {
      "title": "plannerPreviewType",
      "enum": [
        "automatic",
        "noPreview",
        "checklist",
        "description",
        "reference"
      ],
      "type": "string"
    },
    "microsoft.graph.plannerProgressTaskBoardTaskFormat": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "plannerProgressTaskBoardTaskFormat",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "orderHint": {
              "type": [
                "string",
                "null"
              ],
              "description": "Hint value used to order the task on the progress view of the task board. For details about the supported format, see Using order hints in Planner."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.plannerProgressTaskBoardTaskFormat"
    },
    "microsoft.graph.plannerTaskDetails": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "plannerTaskDetails",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "checklist": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.plannerChecklistItems"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The collection of checklist items on the task."
            },
            "description": {
              "type": [
                "string",
                "null"
              ],
              "description": "Description of the task."
            },
            "previewType": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.plannerPreviewType"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task."
            },
            "references": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.plannerExternalReferences"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The collection of references on the task."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.plannerTaskDetails"
    }
  }
}