{
  "additionalProperties": false,
  "properties": {
    "flow": {
      "maxLength": 253,
      "minLength": 1,
      "type": "string",
      "x-lumen-description": {
        "en": "One of this workspace's flows that starts with 'Another flow starts it'. The step starts it on the same documents and waits for it to finish.",
        "he": "אחד התהליכים של סביבת העבודה שמתחיל ב'תהליך אחר מפעיל אותו'. הצעד מפעיל אותו על אותם מסמכים וממתין לסיומו."
      },
      "x-lumen-title": {
        "en": "Flow to run",
        "he": "תהליך להרצה"
      },
      "x-lumen-widget": "flow-ref"
    },
    "onFailure": {
      "default": "fail",
      "enum": [
        "fail",
        "continue"
      ],
      "type": "string",
      "x-lumen-options": {
        "continue": {
          "en": "Go on, and say it failed",
          "he": "להמשיך ולציין שנכשל"
        },
        "fail": {
          "en": "Fail the run",
          "he": "להכשיל את ההרצה"
        }
      },
      "x-lumen-title": {
        "en": "If it fails",
        "he": "אם הוא נכשל"
      },
      "x-lumen-widget": "segmented"
    },
    "onTimeout": {
      "default": "fail",
      "enum": [
        "fail",
        "continue"
      ],
      "type": "string",
      "x-lumen-options": {
        "continue": {
          "en": "Go on without it",
          "he": "להמשיך בלעדיו"
        },
        "fail": {
          "en": "Fail the run",
          "he": "להכשיל את ההרצה"
        }
      },
      "x-lumen-title": {
        "en": "If it takes too long",
        "he": "אם זה לוקח יותר מדי"
      },
      "x-lumen-widget": "segmented"
    },
    "timeoutHours": {
      "default": 168,
      "maximum": 720,
      "minimum": 1,
      "type": "integer",
      "x-lumen-title": {
        "en": "Wait at most (hours)",
        "he": "להמתין לכל היותר (שעות)"
      }
    }
  },
  "required": [
    "flow"
  ],
  "type": "object"
}
