{
  "additionalProperties": false,
  "properties": {
    "events": {
      "items": {
        "enum": [
          "opened",
          "labeled",
          "closed",
          "merged",
          "review_requested",
          "ready_for_review"
        ],
        "type": "string"
      },
      "maxItems": 6,
      "type": "array",
      "uniqueItems": true,
      "x-lumen-description": {
        "en": "Empty is opened, labelled, closed and merged.",
        "he": "ריק הוא נפתח, תויג, נסגר ומוזג."
      },
      "x-lumen-options": {
        "closed": {
          "en": "Closed",
          "he": "נסגר"
        },
        "labeled": {
          "en": "Labelled",
          "he": "תויג"
        },
        "merged": {
          "en": "Merged",
          "he": "מוזג"
        },
        "opened": {
          "en": "Opened",
          "he": "נפתח"
        },
        "ready_for_review": {
          "en": "Ready for review",
          "he": "מוכן לסקירה"
        },
        "review_requested": {
          "en": "Review requested",
          "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 open issues and pull requests of each repository, once, when the trigger is first switched on.",
        "he": "מתחיל ריצה אחת לכל אחד מ-N ה-issues וה-pull requests הפתוחים החדשים ביותר בכל מאגר, פעם אחת, כשהטריגר מופעל לראשונה."
      },
      "x-lumen-title": {
        "en": "Import existing open items (newest)",
        "he": "לייבא פריטים פתוחים קיימים (החדשים ביותר)"
      }
    },
    "kinds": {
      "items": {
        "enum": [
          "issue",
          "pull_request"
        ],
        "type": "string"
      },
      "maxItems": 2,
      "type": "array",
      "uniqueItems": true,
      "x-lumen-description": {
        "en": "Empty is both.",
        "he": "ריק הוא שניהם."
      },
      "x-lumen-options": {
        "issue": {
          "en": "Issues",
          "he": "Issues"
        },
        "pull_request": {
          "en": "Pull requests",
          "he": "Pull requests"
        }
      },
      "x-lumen-title": {
        "en": "Only",
        "he": "רק"
      }
    },
    "labels": {
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array",
      "x-lumen-title": {
        "en": "Only with one of these labels",
        "he": "רק עם אחת מהתוויות האלה"
      }
    },
    "pollMinutes": {
      "default": 5,
      "maximum": 60,
      "minimum": 1,
      "type": "integer",
      "x-lumen-title": {
        "en": "Check every (minutes)",
        "he": "בדיקה כל (דקות)"
      }
    },
    "repos": {
      "items": {
        "pattern": "^[A-Za-z0-9][A-Za-z0-9-]*/[A-Za-z0-9._-]+$",
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array",
      "x-lumen-description": {
        "en": "owner/name, such as acme/website. The token needs Issues: Read and Pull requests: Read on each.",
        "he": "owner/name, למשל acme/website. האסימון צריך Issues: Read ו-Pull requests: Read בכל אחד."
      },
      "x-lumen-title": {
        "en": "Repositories",
        "he": "מאגרים"
      }
    }
  },
  "required": [
    "repos"
  ],
  "type": "object"
}
