email-security_BlockedSender

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-email-security-blockedsender-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/email-security_BlockedSender",
  "title": "email-security_BlockedSender",
  "allOf": [
    {
      "additionalProperties": false,
      "example": {
        "comments": "block sender with email [email protected]",
        "is_regex": false,
        "pattern": "[email protected]",
        "pattern_type": "EMAIL"
      },
      "properties": {
        "comments": {
          "nullable": true,
          "type": "string"
        },
        "is_regex": {
          "type": "boolean"
        },
        "pattern": {
          "minLength": 1,
          "type": "string"
        },
        "pattern_type": {
          "$ref": "#/components/schemas/email-security_PatternType"
        }
      },
      "required": [
        "pattern",
        "is_regex",
        "pattern_type"
      ],
      "type": "object"
    },
    {
      "properties": {
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "example": 2402,
          "format": "int32",
          "title": "identifier",
          "type": "integer"
        },
        "last_modified": {
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "created_at",
        "last_modified"
      ],
      "type": "object"
    }
  ],
  "example": {
    "comments": "block sender with email [email protected]",
    "created_at": "2023-11-14T22:13:20Z",
    "id": 2402,
    "is_regex": false,
    "last_modified": "2023-11-14T22:13:20Z",
    "pattern": "[email protected]",
    "pattern_type": "EMAIL"
  }
}