{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-office/json-schema/microsoft-office-message-schema.json",
  "title": "Message",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-office-mail-api-openapi.yml#/components/schemas/Message",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "bodyPreview": {
      "type": "string"
    },
    "from": {
      "type": "object",
      "properties": {
        "emailAddress": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "address": {
              "type": "string"
            }
          }
        }
      }
    },
    "toRecipients": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "receivedDateTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}