{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-planner-plan-details-schema.json",
  "title": "microsoft.graph.plannerPlanDetails",
  "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.plannerPlanDetails",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "plannerPlanDetails",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "categoryDescriptions": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerCategoryDescriptions"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan."
        },
        "sharedWith": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.plannerUserIds"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Set of user IDs that this plan is shared with. If you're using Microsoft 365 groups, use the Groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it isn't required for them to access the plan owned by the group."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.plannerPlanDetails",
  "$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.plannerCategoryDescriptions": {
      "title": "plannerCategoryDescriptions",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "category1": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 1"
        },
        "category10": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 10"
        },
        "category11": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 11"
        },
        "category12": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 12"
        },
        "category13": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 13"
        },
        "category14": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 14"
        },
        "category15": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 15"
        },
        "category16": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 16"
        },
        "category17": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 17"
        },
        "category18": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 18"
        },
        "category19": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 19"
        },
        "category2": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 2"
        },
        "category20": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 20"
        },
        "category21": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 21"
        },
        "category22": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 22"
        },
        "category23": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 23"
        },
        "category24": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 24"
        },
        "category25": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 25"
        },
        "category3": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 3"
        },
        "category4": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 4"
        },
        "category5": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 5"
        },
        "category6": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 6"
        },
        "category7": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 7"
        },
        "category8": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 8"
        },
        "category9": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label associated with Category 9"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.plannerUserIds": {
      "title": "plannerUserIds",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}