{
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "conversationId": {
            "type": "string"
        },
        "bodyPreview": {
            "type": "string"
        },
        "categories": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "hasAttachments": {
            "type": "boolean"
        },
        "@odata.etag": {
            "type": "string"
        },
        "createdDateTime": {
            "type": "string"
        },
        "lastModifiedDateTime": {
            "type": "string"
        },
        "changeKey": {
            "type": "string"
        },
        "receivedDateTime": {
            "type": "string"
        },
        "sentDateTime": {
            "type": "string"
        },
        "internetMessageId": {
            "type": "string"
        },
        "importance": {
            "type": "string"
        },
        "parentFolderId": {
            "type": "string"
        },
        "conversationIndex": {
            "type": "string"
        },
        "isReadReceiptRequested": {
            "type": "boolean"
        },
        "isRead": {
            "type": "boolean"
        },
        "isDraft": {
            "type": "boolean"
        },
        "webLink": {
            "type": "string"
        },
        "inferenceClassification": {
            "type": "string"
        },
        "body": {
            "type": "object",
            "properties": {
                "contentType": {
                    "type": "string"
                },
                "content": {
                    "type": "string"
                }
            },
            "required": [
                "contentType",
                "content"
            ]
        },
        "sender": {
            "type": "object",
            "properties": {
                "emailAddress": {
                    "type": "object",
                    "properties": {
                        "name": {
                            "type": "string"
                        },
                        "address": {
                            "type": "string"
                        }
                    },
                    "required": [
                        "name",
                        "address"
                    ]
                }
            },
            "required": [
                "emailAddress"
            ]
        },
        "toRecipients": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "emailAddress": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "address": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "name",
                            "address"
                        ]
                    }
                },
                "required": [
                    "emailAddress"
                ]
            }
        },
        "ccRecipients": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "emailAddress": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "address": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "name",
                            "address"
                        ]
                    }
                },
                "required": [
                    "emailAddress"
                ]
            }
        },
        "replyTo": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "emailAddress": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "address": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "name",
                            "address"
                        ]
                    }
                },
                "required": [
                    "emailAddress"
                ]
            }
        },
        "flag": {
            "type": "object",
            "properties": {
                "flagStatus": {
                    "type": "string"
                }
            },
            "required": [
                "flagStatus"
            ]
        }
    },
    "required": [
        "id"
    ],
    "version": 1
}
