SmtpNotificationProfileConfig
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
kind |
"smtp" |
Yes | |
host |
string | Yes | minimum length 1. maximum length 253. pattern ^[^\s]+$ |
port |
integer | Yes | minimum 1.0. maximum 65535.0 |
security |
string | Yes | values "tls", "startTls" |
fromAddress |
string | Yes | minimum length 3. maximum length 320. pattern ^[^\s@]+@[^\s@]+\.[^\s@]+$ |
toAddresses |
array of string | Yes | minimum items 1. maximum items 32 |
subjectPrefix |
string | No | maximum length 128. default "EyesOnIt" |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "kind": { "type": "string", "const": "smtp", "title": "Kind" }, "host": { "type": "string", "maxLength": 253, "minLength": 1, "pattern": "^[^\\s]+$", "title": "Host" }, "port": { "type": "integer", "maximum": 65535.0, "minimum": 1.0, "title": "Port" }, "security": { "type": "string", "enum": [ "tls", "startTls" ], "title": "Security" }, "fromAddress": { "type": "string", "maxLength": 320, "minLength": 3, "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$", "title": "Fromaddress" }, "toAddresses": { "items": { "type": "string" }, "type": "array", "maxItems": 32, "minItems": 1, "title": "Toaddresses" }, "subjectPrefix": { "type": "string", "maxLength": 128, "title": "Subjectprefix", "default": "EyesOnIt" } }, "additionalProperties": false, "type": "object", "required": [ "kind", "host", "port", "security", "fromAddress", "toAddresses" ], "title": "SmtpNotificationProfileConfig"}