{
  "additionalProperties": false,
  "properties": {
    "events": {
      "items": {
        "enum": [
          "created",
          "transitioned",
          "updated"
        ],
        "type": "string"
      },
      "maxItems": 3,
      "type": "array",
      "uniqueItems": true,
      "x-lumen-description": {
        "en": "Empty is all three.",
        "he": "ריק הוא שלושתם."
      },
      "x-lumen-options": {
        "created": {
          "en": "Created",
          "he": "נוצר"
        },
        "transitioned": {
          "en": "Moved to another status",
          "he": "עבר לסטטוס אחר"
        },
        "updated": {
          "en": "Any other change",
          "he": "כל שינוי אחר"
        }
      },
      "x-lumen-title": {
        "en": "Start on",
        "he": "להתחיל על"
      }
    },
    "importExisting": {
      "default": 0,
      "maximum": 50,
      "minimum": 0,
      "type": "integer",
      "x-lumen-description": {
        "en": "Starts one run for each of the newest N matching issues, once, when the trigger is first switched on.",
        "he": "מתחיל ריצה אחת לכל אחד מ-N הכרטיסים המתאימים החדשים ביותר, פעם אחת, כשהטריגר מופעל לראשונה."
      },
      "x-lumen-title": {
        "en": "Import existing issues (newest)",
        "he": "לייבא כרטיסים קיימים (החדשים ביותר)"
      }
    },
    "issueTypes": {
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array",
      "x-lumen-title": {
        "en": "Only these issue types",
        "he": "רק סוגי הכרטיסים האלה"
      }
    },
    "jql": {
      "maxLength": 1000,
      "type": "string",
      "x-lumen-description": {
        "en": "Added with AND, for example assignee = currentUser().",
        "he": "מתווסף עם AND, למשל assignee = currentUser()."
      },
      "x-lumen-title": {
        "en": "More conditions (JQL)",
        "he": "תנאים נוספים (JQL)"
      }
    },
    "labels": {
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array",
      "x-lumen-title": {
        "en": "Only issues with one of these labels",
        "he": "רק כרטיסים עם אחת מהתוויות האלה"
      }
    },
    "pollMinutes": {
      "default": 5,
      "maximum": 60,
      "minimum": 1,
      "type": "integer",
      "x-lumen-title": {
        "en": "Check every (minutes)",
        "he": "בדיקה כל (דקות)"
      }
    },
    "projects": {
      "items": {
        "pattern": "^[A-Z][A-Z0-9_]+$",
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array",
      "x-lumen-description": {
        "en": "Project keys, such as OPS.",
        "he": "מפתחות פרויקטים, למשל OPS."
      },
      "x-lumen-title": {
        "en": "Projects",
        "he": "פרויקטים"
      }
    },
    "statuses": {
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array",
      "x-lumen-title": {
        "en": "Only issues now in these statuses",
        "he": "רק כרטיסים שנמצאים עכשיו בסטטוסים האלה"
      }
    }
  },
  "required": [
    "projects"
  ],
  "type": "object"
}
