{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/email-security_AllowPattern", "title": "email-security_AllowPattern", "allOf": [ { "additionalProperties": false, "example": { "comments": "Trust all messages send from test@example.com", "is_recipient": false, "is_regex": false, "is_sender": true, "is_spoof": false, "pattern": "test@example.com", "pattern_type": "EMAIL", "verify_sender": true }, "properties": { "comments": { "nullable": true, "type": "string" }, "is_recipient": { "type": "boolean" }, "is_regex": { "type": "boolean" }, "is_sender": { "type": "boolean" }, "is_spoof": { "type": "boolean" }, "pattern": { "minLength": 1, "type": "string" }, "pattern_type": { "$ref": "#/components/schemas/email-security_PatternType" }, "verify_sender": { "type": "boolean" } }, "required": [ "is_recipient", "is_sender", "is_spoof", "pattern", "is_regex", "verify_sender", "pattern_type" ], "type": "object" }, { "properties": { "created_at": { "format": "date-time", "type": "string" }, "id": { "example": 2401, "format": "int32", "title": "identifier", "type": "integer" }, "last_modified": { "format": "date-time", "type": "string" } }, "required": [ "id", "created_at", "last_modified" ], "type": "object" } ], "example": { "comments": "Trust all messages send from test@example.com", "created_at": "2023-11-14T22:13:20Z", "id": 2401, "is_recipient": false, "is_regex": false, "is_sender": true, "is_spoof": false, "last_modified": "2023-11-14T22:13:20Z", "pattern": "test@example.com", "pattern_type": "EMAIL", "verify_sender": true } }