{
  "additionalProperties": false,
  "properties": {
    "attachments": {
      "enum": [
        "separate",
        "together"
      ],
      "type": "string",
      "x-lumen-description": {
        "en": "Each attachment separately: every file goes through the flow on its own, with the email's sender, subject and body, so reply and forward steps answer once per file. The whole email as one: all the files travel together as one document. A trigger saved before this setting existed works as the whole email as one.",
        "he": "כל קובץ מצורף בנפרד: כל קובץ עובר בתהליך לבד, עם השולח, הנושא והגוף של המייל, ולכן צעדי מענה והעברה עונים פעם אחת לכל קובץ. המייל כולו כאחד: כל הקבצים עוברים יחד כמסמך אחד. טריגר שנשמר לפני שההגדרה הזו נוספה עובד כמייל כולו כאחד."
      },
      "x-lumen-initial": "separate",
      "x-lumen-options": {
        "separate": {
          "en": "Each attachment separately",
          "he": "כל קובץ מצורף בנפרד"
        },
        "together": {
          "en": "The whole email as one",
          "he": "המייל כולו כאחד"
        }
      },
      "x-lumen-title": {
        "en": "Attachments",
        "he": "קבצים מצורפים"
      },
      "x-lumen-widget": "segmented"
    },
    "includeInline": {
      "default": false,
      "type": "boolean",
      "x-lumen-title": {
        "en": "Include images in the email body",
        "he": "לכלול תמונות מגוף המייל"
      }
    },
    "maxSizeMB": {
      "default": 25,
      "maximum": 40,
      "minimum": 1,
      "type": "integer",
      "x-lumen-title": {
        "en": "Largest mail (MB)",
        "he": "המייל הגדול ביותר (MB)"
      }
    },
    "requireAttachment": {
      "default": true,
      "type": "boolean",
      "x-lumen-title": {
        "en": "Only emails with an attachment",
        "he": "רק מיילים עם קובץ מצורף"
      }
    }
  },
  "type": "object"
}
