Era.Common.DataDefinition.Task.Server.MailMessage

Description

Definition of mail message

Properties

Name JsonSchemaType Description
add_computer_details_link boolean
mail_attachments array of references to Era.Common.DataDefinition.Task.Server.MailPart Mail message attachements
mail_contents array of references to Era.Common.DataDefinition.Task.Server.MailPart Mail message content
mail_header reference to Era.Common.DataDefinition.Task.Server.MailHeader Mail message header
mail_multipart_contents array of references to Era.Common.DataDefinition.Task.Server.MailMultiPart For internal use only

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Task.Server.SendMail

JsonSchema

{
    "title": "Era.Common.DataDefinition.Task.Server.MailMessage",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Task.Server.MailMessage"
    ],
    "properties": {
        "Era.Common.DataDefinition.Task.Server.MailMessage": {
            "$ref": "#/definitions/MailMessage"
        }
    },
    "definitions": {
        "MailMessage": {
            "additionalProperties": false,
            "required": [
                "mail_header"
            ],
            "type": "object",
            "properties": {
                "add_computer_details_link": {
                    "type": "boolean"
                },
                "mail_attachments": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Task.Server.MailPart#/definitions/MailPart"
                        }
                    ]
                },
                "mail_contents": {
                    "minItems": 1,
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Task.Server.MailPart#/definitions/MailPart"
                        }
                    ]
                },
                "mail_header": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.MailHeader#/definitions/MailHeader"
                },
                "mail_multipart_contents": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Task.Server.MailMultiPart#/definitions/MailMultiPart"
                        }
                    ]
                }
            }
        }
    }
}