{
  "additionalProperties": false,
  "properties": {
    "host": {
      "maxLength": 253,
      "minLength": 1,
      "type": "string",
      "x-lumen-description": {
        "en": "The IMAP server's name, for example mail.example.com or outlook.office365.com.",
        "he": "שם שרת ה-IMAP, למשל mail.example.com או outlook.office365.com."
      },
      "x-lumen-order": 1,
      "x-lumen-title": {
        "en": "Mail server",
        "he": "שרת הדואר"
      }
    },
    "insecureSkipVerify": {
      "default": false,
      "type": "boolean",
      "x-lumen-description": {
        "en": "For development only: anyone on the network could pretend to be your mail server.",
        "he": "לפיתוח בלבד: מי שנמצא ברשת יכול להתחזות לשרת הדואר שלכם."
      },
      "x-lumen-order": 5,
      "x-lumen-title": {
        "en": "Do not check the server certificate",
        "he": "לא לבדוק את תעודת השרת"
      }
    },
    "port": {
      "default": 993,
      "maximum": 65535,
      "minimum": 1,
      "type": "integer",
      "x-lumen-order": 2,
      "x-lumen-title": {
        "en": "Port",
        "he": "פורט"
      }
    },
    "security": {
      "default": "tls",
      "enum": [
        "tls",
        "starttls",
        "none"
      ],
      "type": "string",
      "x-lumen-description": {
        "en": "TLS is the usual choice (port 993). None is for development only: the password travels unencrypted.",
        "he": "TLS הוא הבחירה הרגילה (פורט 993). ללא הצפנה מיועד לפיתוח בלבד: הסיסמה עוברת בלי הצפנה."
      },
      "x-lumen-options": {
        "none": {
          "en": "None (development only)",
          "he": "ללא הצפנה (לפיתוח בלבד)"
        },
        "starttls": {
          "en": "STARTTLS (port 143)",
          "he": "STARTTLS (פורט 143)"
        },
        "tls": {
          "en": "TLS (port 993)",
          "he": "TLS (פורט 993)"
        }
      },
      "x-lumen-order": 3,
      "x-lumen-title": {
        "en": "Connection security",
        "he": "אבטחת החיבור"
      }
    },
    "username": {
      "maxLength": 320,
      "minLength": 1,
      "type": "string",
      "x-lumen-description": {
        "en": "Usually the full email address.",
        "he": "בדרך כלל כתובת המייל המלאה."
      },
      "x-lumen-order": 4,
      "x-lumen-title": {
        "en": "User name",
        "he": "שם משתמש"
      }
    }
  },
  "required": [
    "host",
    "username"
  ],
  "type": "object"
}
