{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-exchange/json-schema/microsoft-exchange-mailbox-folder-schema.json",
  "title": "MailboxFolder",
  "description": "A folder in a mailbox",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-exchange-mailbox-discovery-api-openapi.yml#/components/schemas/MailboxFolder",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "The folder unique identifier"
    },
    "displayName": {
      "type": "string",
      "description": "Display name of the folder"
    },
    "parentFolderId": {
      "type": "string",
      "description": "The ID of the parent folder"
    },
    "folderType": {
      "type": "string",
      "description": "The type of folder (e.g. inbox, calendar, contacts)"
    },
    "childFolderCount": {
      "type": "integer",
      "description": "Number of child folders"
    },
    "totalItemCount": {
      "type": "integer",
      "description": "Total items in the folder"
    },
    "unreadItemCount": {
      "type": "integer",
      "description": "Number of unread items"
    }
  }
}