{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-exchange/json-schema/microsoft-exchange-mailbox-item-schema.json",
  "title": "MailboxItem",
  "description": "An item in a mailbox folder",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-exchange-mailbox-export-api-openapi.yml#/components/schemas/MailboxItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "The item unique identifier"
    },
    "itemType": {
      "type": "string",
      "enum": [
        "message",
        "event",
        "contact",
        "task"
      ],
      "description": "The type of mailbox item"
    },
    "subject": {
      "type": "string",
      "description": "The subject of the item"
    },
    "createdDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the item was created"
    },
    "lastModifiedDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the item was last modified"
    },
    "size": {
      "type": "integer",
      "description": "Size of the item in bytes"
    },
    "internetMessageId": {
      "type": "string",
      "description": "The Internet message ID (for messages)"
    },
    "hasAttachments": {
      "type": "boolean",
      "description": "Whether the item has attachments"
    }
  }
}