200 |
|
|
application/json
model |
example
{
"title": "jobStreams",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "List of all jobStreams and their folders",
"javaType": "com.sos.joc.model.jobstreams.JobStreams",
"type": "object",
"properties": {
"deliveryDate": {
"description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
"type": "string",
"format": "date-time"
},
"jobschedulerId": {
"type": "string",
"pattern": "^[^/\\<>?:\"|*]*$",
"maxLength": 100
},
"jobstreams": {
"type": "array",
"items": {
"description": "Reset Workflow, unconsume expressions",
"javaType": "com.sos.joc.model.jobstreams.JobStream",
"type": "object",
"required": [
"jobschedulerId"
],
"properties": {
"deliveryDate": {
"description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
"type": "string",
"format": "date-time"
},
"jobschedulerId": {
"type": "string",
"pattern": "^[^/\\<>?:\"|*]*$",
"maxLength": 100
},
"jobStreamId": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"oldJobStreamName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"folder": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"state": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobstreamStarters": {
"type": "array",
"items": {
"description": "List of all jobStream starters",
"javaType": "com.sos.joc.model.jobstreams.JobStreamStarter",
"type": "object",
"properties": {
"state": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobStreamStarterId": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"starterName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"title": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"nextStart": {
"description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
"type": "string",
"format": "date-time"
},
"endOfJobStream": {
"description": "absolute path based on live folder of a JobScheduler object.",
"type": "string",
"pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
"maxLength": 255
},
"requiredJob": {
"description": "absolute path based on live folder of a JobScheduler object.",
"type": "string",
"pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
"maxLength": 255
},
"jobs": {
"type": "array",
"items": {
"description": "A job started by the jobstream starter",
"javaType": "com.sos.joc.model.jobstreams.JobStreamJob",
"type": "object",
"properties": {
"jobId": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"job": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"startDelay": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"nextPeriod": {
"description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
"type": "string",
"format": "date-time"
},
"skipOutCondition": {
"type": "boolean"
},
"inconditions": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.InCondition",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"consumed": {
"type": "boolean"
},
"markExpression": {
"type": "boolean"
},
"skipOutCondition": {
"type": "boolean"
},
"haveReferenceToOtherFolders": {
"type": "boolean"
},
"conditionExpression": {
"description": "Expression for Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionExpression",
"type": "object",
"properties": {
"expression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"validatedExpression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"value": {
"type": "boolean"
},
"jobStreamEvents": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"nextPeriod": {
"description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
"type": "string",
"format": "date-time"
},
"inconditionCommands": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.InConditionCommand",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"command": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"commandParam": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"outconditions": {
"type": "array",
"items": {
"description": "List of all Conditions using an event",
"javaType": "com.sos.joc.model.jobstreams.JobstreamConditions",
"type": "object",
"properties": {
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobs": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionRef",
"type": "object",
"properties": {
"job": {
"description": "absolute path based on live folder of a JobScheduler object.",
"type": "string",
"pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
"maxLength": 255
},
"expressions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
}
}
}
}
}
}
}
}
}
}
},
"outconditions": {
"type": "array",
"items": {
"description": "Out Condition",
"javaType": "com.sos.joc.model.jobstreams.OutCondition",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"conditionExpression": {
"description": "Expression for Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionExpression",
"type": "object",
"properties": {
"expression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"validatedExpression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"value": {
"type": "boolean"
},
"jobStreamEvents": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"outconditionEvents": {
"type": "array",
"items": {
"description": "Out Condition Event",
"javaType": "com.sos.joc.model.jobstreams.OutConditionEvent",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"command": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"event": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"exists": {
"type": "boolean"
},
"globalEvent": {
"type": "boolean"
},
"existsInJobStream": {
"type": "boolean"
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"inconditions": {
"type": "array",
"items": {
"description": "List of all Conditions using an event",
"javaType": "com.sos.joc.model.jobstreams.JobstreamConditions",
"type": "object",
"properties": {
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobs": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionRef",
"type": "object",
"properties": {
"job": {
"description": "absolute path based on live folder of a JobScheduler object.",
"type": "string",
"pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
"maxLength": 255
},
"expressions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"runTime": {
"javaType": "com.sos.joc.model.joe.schedule.RunTime",
"type": "object",
"xmlElement": "run_time",
"javaInterfaces": [
"com.sos.joc.model.joe.common.IJSObject"
],
"extends": {
"javaType": "com.sos.joc.model.joe.schedule.AbstractSchedule",
"type": "object",
"properties": {
"timeZone": {
"type": "string"
},
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
},
"ats": {
"xmlElement": "at",
"type": "array",
"items": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.At",
"properties": {
"at": {
"description": "yyyy-mm-dd HH:MM[:SS]",
"type": "string"
}
}
}
},
"dates": {
"xmlElement": "date",
"type": "array",
"items": {
"xmlElement": "date",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Date",
"required": [
"date"
],
"properties": {
"date": {
"type": "string"
},
"calendar": {
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
},
"weekdays": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Weekdays",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"monthdays": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Monthdays",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
},
"weekdays": {
"type": "array",
"xmlElement": "weekday",
"items": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.WeekdayOfMonth",
"xmlElement": "weekday",
"required": [
"day",
"which"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?)",
"type": "string"
},
"which": {
"description": "possible value: -4, -3, -2, -1, 1, 2, 3, 4",
"type": "integer"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"ultimos": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Ultimos",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"months": {
"type": "array",
"xmlElement": "month",
"items": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Month",
"xmlElement": "month",
"properties": {
"month": {
"description": "unordered space separated list of 1-12 or january, february, march, april, may, june, july, august, september, october, november, december",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
},
"weekdays": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Weekdays",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"monthdays": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Monthdays",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
},
"weekdays": {
"type": "array",
"xmlElement": "weekday",
"items": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.WeekdayOfMonth",
"xmlElement": "weekday",
"required": [
"day",
"which"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?)",
"type": "string"
},
"which": {
"description": "possible value: -4, -3, -2, -1, 1, 2, 3, 4",
"type": "integer"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"ultimos": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Ultimos",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
}
}
}
},
"holidays": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Holidays",
"properties": {
"includes": {
"type": "array",
"xmlElement": "include",
"items": {
"javaType": "com.sos.joc.model.joe.common.Include",
"type": "object",
"description": "usage of file and liveFile are exclusive",
"properties": {
"file": {
"type": "string"
},
"liveFile": {
"type": "string"
}
}
}
},
"weekdays": {
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Weekdays",
"properties": {
"days": {
"xmlElement": "day",
"type": "array",
"items": {
"xmlElement": "day",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Day",
"required": [
"day"
],
"properties": {
"day": {
"description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"days": {
"xmlElement": "holiday",
"type": "array",
"items": {
"xmlElement": "holiday",
"type": "object",
"javaType": "com.sos.joc.model.joe.schedule.Holiday",
"required": [
"date"
],
"properties": {
"date": {
"type": "string"
},
"calendar": {
"type": "string"
},
"periods": {
"xmlElement": "period",
"type": "array",
"items": {
"javaType": "com.sos.joc.model.joe.schedule.Period",
"type": "object",
"properties": {
"begin": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"end": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"singleStart": {
"description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
"type": "string"
},
"letRun": {
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"runOnce": {
"xmlElement": "start_once",
"description": "possible values: yes, no, 1, 0, true, false",
"type": "string",
"default": "false"
},
"repeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"absoluteRepeat": {
"description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
"type": "string"
},
"whenHoliday": {
"description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
"type": "string",
"default": "suppress"
}
}
}
}
}
}
}
}
},
"calendars": {
"type": "string",
"isXmlCData": true
}
}
},
"properties": {
"schedule": {
"description": "path to a schedule",
"type": "string"
}
}
},
"params": {
"type": "array",
"items": {
"javaType": "com.sos.joc.model.common.NameValuePair",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"value": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
}
}
}
}
}
}
},
"jobs": {
"type": "array",
"items": {
"description": "A job started by the jobstream starter",
"javaType": "com.sos.joc.model.jobstreams.JobStreamJob",
"type": "object",
"properties": {
"jobId": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"job": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"startDelay": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"nextPeriod": {
"description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
"type": "string",
"format": "date-time"
},
"skipOutCondition": {
"type": "boolean"
},
"inconditions": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.InCondition",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"consumed": {
"type": "boolean"
},
"markExpression": {
"type": "boolean"
},
"skipOutCondition": {
"type": "boolean"
},
"haveReferenceToOtherFolders": {
"type": "boolean"
},
"conditionExpression": {
"description": "Expression for Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionExpression",
"type": "object",
"properties": {
"expression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"validatedExpression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"value": {
"type": "boolean"
},
"jobStreamEvents": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"nextPeriod": {
"description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
"type": "string",
"format": "date-time"
},
"inconditionCommands": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.InConditionCommand",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"command": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"commandParam": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"outconditions": {
"type": "array",
"items": {
"description": "List of all Conditions using an event",
"javaType": "com.sos.joc.model.jobstreams.JobstreamConditions",
"type": "object",
"properties": {
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobs": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionRef",
"type": "object",
"properties": {
"job": {
"description": "absolute path based on live folder of a JobScheduler object.",
"type": "string",
"pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
"maxLength": 255
},
"expressions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
}
}
}
}
}
}
}
}
}
}
},
"outconditions": {
"type": "array",
"items": {
"description": "Out Condition",
"javaType": "com.sos.joc.model.jobstreams.OutCondition",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"conditionExpression": {
"description": "Expression for Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionExpression",
"type": "object",
"properties": {
"expression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"validatedExpression": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
},
"value": {
"type": "boolean"
},
"jobStreamEvents": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"outconditionEvents": {
"type": "array",
"items": {
"description": "Out Condition Event",
"javaType": "com.sos.joc.model.jobstreams.OutConditionEvent",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"command": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"event": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"exists": {
"type": "boolean"
},
"globalEvent": {
"type": "boolean"
},
"existsInJobStream": {
"type": "boolean"
},
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
},
"inconditions": {
"type": "array",
"items": {
"description": "List of all Conditions using an event",
"javaType": "com.sos.joc.model.jobstreams.JobstreamConditions",
"type": "object",
"properties": {
"jobStream": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"jobs": {
"type": "array",
"items": {
"description": "In Condition",
"javaType": "com.sos.joc.model.jobstreams.ConditionRef",
"type": "object",
"properties": {
"job": {
"description": "absolute path based on live folder of a JobScheduler object.",
"type": "string",
"pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
"maxLength": 255
},
"expressions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?s)((?!<script( |>)|<svg/on).)*$"
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"auditLog": {
"javaType": "com.sos.joc.model.audit.AuditParams",
"type": "object",
"properties": {
"comment": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"timeSpent": {
"type": "integer",
"minimum": 0
},
"ticketLink": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
}
}
}
}
}
}
}
}
{ "deliveryDate": "2021-04-01T13:38:48.836Z", "jobschedulerId": "scheduler_joc_cockpit", "jobstreams": [{ "jobStream": "test1", "folder": "/jobstream/test1", "state": "active", "jobstreamStarters": [{ "state": "active", "jobStreamStarterId": 1927, "title": "aa", "nextStart": "2021-04-02T10:00:00.0Z", "jobs": [{ "job": "/jobstream/test1/xjob11", "startDelay": 0, "skipOutCondition": false, "inconditions": [], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }] }], "runTime": { "timeZone": "Europe/Berlin", "letRun": "false", "runOnce": "false", "dates": [{ "date": "2021-04-01", "calendar": "/Every Day", "periods": [{ "singleStart": "12:00:00", "letRun": "false", "runOnce": "false", "whenHoliday": "suppress" }] }, { "date": "2021-04-02", "calendar": "/Every Day", "periods": [{ "singleStart": "12:00:00", "letRun": "false", "runOnce": "false", "whenHoliday": "suppress" }] }], "calendars": "{\"calendars\":[{\"basedOn\":\"/Every Day\",\"includes\":{},\"type\":\"WORKING_DAYS\",\"periods\":[{\"singleStart\":\"12:00:00\",\"letRun\":\"false\",\"runOnce\":\"false\",\"whenHoliday\":\"suppress\"}]}]}" }, "params": [] }], "jobs": [{ "job": "/jobstream/test1/xjob11", "inconditions": [], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob11", "globalEvent": false }], "inconditions": [] }] }, { "job": "/jobstream/test1/xjob2", "inconditions": [{ "markExpression": true, "skipOutCondition": false, "conditionExpression": { "expression": "xjob11 " }, "inconditionCommands": [{ "command": "startjob", "commandParam": "now" }], "outconditions": [] }], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob2", "globalEvent": false }], "inconditions": [] }] }, { "job": "/jobstream/test1/xjob3", "inconditions": [{ "markExpression": true, "skipOutCondition": false, "conditionExpression": { "expression": "xjob2 " }, "inconditionCommands": [{ "command": "startjob", "commandParam": "now" }], "outconditions": [] }], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "xjob3", "globalEvent": false }], "inconditions": [] }] }] }, { "jobStream": "xxxxx", "folder": "/jobstream/test2", "state": "active", "jobstreamStarters": [{ "state": "active", "jobStreamStarterId": 1926, "jobs": [{ "job": "/jobstream/test2/job1", "startDelay": 0, "skipOutCondition": false, "inconditions": [], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "x", "globalEvent": true }, { "command": "create", "event": "job1", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job1", "globalEvent": false }, { "command": "create", "event": "x", "globalEvent": true }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job1", "globalEvent": false }, { "command": "create", "event": "x", "globalEvent": true }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job1", "globalEvent": false }, { "command": "create", "event": "x", "globalEvent": true }], "inconditions": [] }] }], "runTime": { "timeZone": "Europe/Berlin", "letRun": "false", "runOnce": "false" }, "params": [] }], "jobs": [{ "job": "/jobstream/test2/job3", "inconditions": [{ "markExpression": true, "skipOutCondition": false, "conditionExpression": { "expression": "global:job2 " }, "inconditionCommands": [{ "command": "startjob", "commandParam": "now" }], "outconditions": [] }], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job3", "globalEvent": false }], "inconditions": [] }] }, { "job": "/jobstream/test2/job2", "inconditions": [{ "markExpression": true, "skipOutCondition": false, "conditionExpression": { "expression": "job1 " }, "inconditionCommands": [{ "command": "startjob", "commandParam": "now" }], "outconditions": [] }], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job2", "globalEvent": true }], "inconditions": [] }] }, { "job": "/jobstream/test2/job1", "inconditions": [], "outconditions": [{ "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "x", "globalEvent": true }, { "command": "create", "event": "job1", "globalEvent": false }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job1", "globalEvent": false }, { "command": "create", "event": "x", "globalEvent": true }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job1", "globalEvent": false }, { "command": "create", "event": "x", "globalEvent": true }], "inconditions": [] }, { "conditionExpression": { "expression": "rc:0" }, "outconditionEvents": [{ "command": "create", "event": "job1", "globalEvent": false }, { "command": "create", "event": "x", "globalEvent": true }], "inconditions": [] }] }] }] }
{
"deliveryDate": "2021-04-01T13:38:48.836Z",
"jobschedulerId": "scheduler_joc_cockpit",
"jobstreams": [{
"jobStream": "test1",
"folder": "/jobstream/test1",
"state": "active",
"jobstreamStarters": [{
"state": "active",
"jobStreamStarterId": 1927,
"title": "aa",
"nextStart": "2021-04-02T10:00:00.0Z",
"jobs": [{
"job": "/jobstream/test1/xjob11",
"startDelay": 0,
"skipOutCondition": false,
"inconditions": [],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}]
}],
"runTime": {
"timeZone": "Europe/Berlin",
"letRun": "false",
"runOnce": "false",
"dates": [{
"date": "2021-04-01",
"calendar": "/Every Day",
"periods": [{
"singleStart": "12:00:00",
"letRun": "false",
"runOnce": "false",
"whenHoliday": "suppress"
}]
}, {
"date": "2021-04-02",
"calendar": "/Every Day",
"periods": [{
"singleStart": "12:00:00",
"letRun": "false",
"runOnce": "false",
"whenHoliday": "suppress"
}]
}],
"calendars": "{\"calendars\":[{\"basedOn\":\"/Every Day\",\"includes\":{},\"type\":\"WORKING_DAYS\",\"periods\":[{\"singleStart\":\"12:00:00\",\"letRun\":\"false\",\"runOnce\":\"false\",\"whenHoliday\":\"suppress\"}]}]}"
},
"params": []
}],
"jobs": [{
"job": "/jobstream/test1/xjob11",
"inconditions": [],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob11",
"globalEvent": false
}],
"inconditions": []
}]
}, {
"job": "/jobstream/test1/xjob2",
"inconditions": [{
"markExpression": true,
"skipOutCondition": false,
"conditionExpression": {
"expression": "xjob11 "
},
"inconditionCommands": [{
"command": "startjob",
"commandParam": "now"
}],
"outconditions": []
}],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob2",
"globalEvent": false
}],
"inconditions": []
}]
}, {
"job": "/jobstream/test1/xjob3",
"inconditions": [{
"markExpression": true,
"skipOutCondition": false,
"conditionExpression": {
"expression": "xjob2 "
},
"inconditionCommands": [{
"command": "startjob",
"commandParam": "now"
}],
"outconditions": []
}],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "xjob3",
"globalEvent": false
}],
"inconditions": []
}]
}]
}, {
"jobStream": "xxxxx",
"folder": "/jobstream/test2",
"state": "active",
"jobstreamStarters": [{
"state": "active",
"jobStreamStarterId": 1926,
"jobs": [{
"job": "/jobstream/test2/job1",
"startDelay": 0,
"skipOutCondition": false,
"inconditions": [],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "x",
"globalEvent": true
}, {
"command": "create",
"event": "job1",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job1",
"globalEvent": false
}, {
"command": "create",
"event": "x",
"globalEvent": true
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job1",
"globalEvent": false
}, {
"command": "create",
"event": "x",
"globalEvent": true
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job1",
"globalEvent": false
}, {
"command": "create",
"event": "x",
"globalEvent": true
}],
"inconditions": []
}]
}],
"runTime": {
"timeZone": "Europe/Berlin",
"letRun": "false",
"runOnce": "false"
},
"params": []
}],
"jobs": [{
"job": "/jobstream/test2/job3",
"inconditions": [{
"markExpression": true,
"skipOutCondition": false,
"conditionExpression": {
"expression": "global:job2 "
},
"inconditionCommands": [{
"command": "startjob",
"commandParam": "now"
}],
"outconditions": []
}],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job3",
"globalEvent": false
}],
"inconditions": []
}]
}, {
"job": "/jobstream/test2/job2",
"inconditions": [{
"markExpression": true,
"skipOutCondition": false,
"conditionExpression": {
"expression": "job1 "
},
"inconditionCommands": [{
"command": "startjob",
"commandParam": "now"
}],
"outconditions": []
}],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job2",
"globalEvent": true
}],
"inconditions": []
}]
}, {
"job": "/jobstream/test2/job1",
"inconditions": [],
"outconditions": [{
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "x",
"globalEvent": true
}, {
"command": "create",
"event": "job1",
"globalEvent": false
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job1",
"globalEvent": false
}, {
"command": "create",
"event": "x",
"globalEvent": true
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job1",
"globalEvent": false
}, {
"command": "create",
"event": "x",
"globalEvent": true
}],
"inconditions": []
}, {
"conditionExpression": {
"expression": "rc:0"
},
"outconditionEvents": [{
"command": "create",
"event": "job1",
"globalEvent": false
}, {
"command": "create",
"event": "x",
"globalEvent": true
}],
"inconditions": []
}]
}]
}]
}
|