{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmailReceiver",
  "title": "EmailReceiver",
  "type": "object",
  "required": [
    "name",
    "emailAddress"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the email receiver."
    },
    "emailAddress": {
      "type": "string",
      "format": "email",
      "description": "The email address of this receiver."
    },
    "useCommonAlertSchema": {
      "type": "boolean",
      "default": false,
      "description": "Indicates whether to use common alert schema."
    },
    "status": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "NotSpecified",
        "Enabled",
        "Disabled"
      ],
      "description": "The receiver status."
    }
  }
}