JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/email-security_TrustedDomain",
"title": "email-security_TrustedDomain",
"allOf": [
{
"additionalProperties": false,
"example": {
"comments": null,
"is_recent": true,
"is_regex": false,
"is_similarity": false,
"pattern": "example.com"
},
"properties": {
"comments": {
"nullable": true,
"type": "string"
},
"is_recent": {
"type": "boolean"
},
"is_regex": {
"type": "boolean"
},
"is_similarity": {
"type": "boolean"
},
"pattern": {
"minLength": 1,
"type": "string"
}
},
"required": [
"is_recent",
"is_similarity",
"is_regex",
"pattern"
],
"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": null,
"created_at": "2023-11-14T22:13:20Z",
"id": 2401,
"is_recent": true,
"is_regex": false,
"is_similarity": false,
"last_modified": "2023-11-14T22:13:20Z",
"pattern": "example.com"
}
}