{
    "additionalProperties": false,
    "properties": {
        "description": {
            "maxLength": 160,
            "minLength": 1,
            "type": "string"
        },
        "from": {
            "maxLength": 254,
            "minLength": 5,
            "pattern": "^[^@^\\s]+@[^@^\\.^\\s]+(\\.[^@^\\.^\\s]*)*.gov.uk",
            "type": "string"
        },
        "jobId": {
            "type": "integer"
        },
        "message": {
            "maxLength": 1900,
            "minLength": 1,
            "type": "string"
        },
        "subject": {
            "maxLength": 130,
            "type": "string"
        },
        "to": {
            "maxLength": 254,
            "minLength": 5,
            "pattern": "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$",
            "type": "string"
        }
    },
    "required": [
        "to",
        "from",
        "subject",
        "message"
    ],
    "type": "object"
}