{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-planner-task-details-schema.json",
  "title": "microsoft.graph.plannerTaskDetails",
  "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.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",
  "$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.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.plannerPreviewType": {
      "title": "plannerPreviewType",
      "enum": [
        "automatic",
        "noPreview",
        "checklist",
        "description",
        "reference"
      ],
      "type": "string"
    }
  }
}