Era.Common.DataDefinition.Scheduler.TimeEvent

Description

Describes a time event object

Properties

Name JsonSchemaType Description
Delay integer Delay interval in seconds. The result time will be in the interval specified by CRON + time in the range (0,Delay) seconds.
Range reference to Era.Common.DataDefinition.Scheduler.TimeEvent_RangeDefinition Specifies the occurrence pattern
StartTime reference to Era.Common.DataDefinition.Common.UTCTime Start time
TimeSpecification string Cron expression
UTCLocal boolean Use true to denote UTC time, and false to denote local time

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Trigger.SchedulerTrigger
Era.Common.NetworkMessage.ConsoleApi.Scheduler.RpcValidateTimeEventRequest

JsonSchema

{
    "title": "Era.Common.DataDefinition.Scheduler.TimeEvent",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Scheduler.TimeEvent"
    ],
    "properties": {
        "Era.Common.DataDefinition.Scheduler.TimeEvent": {
            "$ref": "#/definitions/TimeEvent"
        }
    },
    "definitions": {
        "TimeEvent": {
            "additionalProperties": false,
            "required": [
                "TimeSpecification",
                "UTCLocal"
            ],
            "type": "object",
            "properties": {
                "Delay": {
                    "exclusiveMaximum": false,
                    "exclusiveMinimum": false,
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "Range": {
                    "$ref": "Era.Common.DataDefinition.Scheduler.TimeEvent_RangeDefinition#/definitions/TimeEvent_RangeDefinition"
                },
                "StartTime": {
                    "$ref": "Era.Common.DataDefinition.Common.UTCTime#/definitions/UTCTime"
                },
                "TimeSpecification": {
                    "pattern": "((((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* (((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* (((([rR*])|(((((([0-1])?[0-9]))|(([2][0-3])))((-(((([0-1])?[0-9]))|(([2][0-3])))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|(((((([0-1])?[0-9]))|(([2][0-3])))((-(((([0-1])?[0-9]))|(([2][0-3])))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* [?] (((([rR*])|((((([1-9]))|(([1][0-2])))((-((([1-9]))|(([1][0-2])))))?))|((((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))((-((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|((((([1-9]))|(([1][0-2])))((-((([1-9]))|(([1][0-2])))))?))|((((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))((-((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* (((((((([rR*]L)|([rR*])|((([0-6](L)?)((-([0-6](L)?)))?))|((((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT))((-((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9](L)?)))?))|((([0-6](L)?)L))|(W)|((((((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT)))|([0-6])|([*]))[#][1-5]))|(((([0-6])|(((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT)))|([rR*]))([#][1-5])?((-(([0-6])|(((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT)))|([rR*]))([#][1-5])?))?))))(,(((((([rR*]L)|([rR*])|((([0-6](L)?)((-([0-6](L)?)))?))|((((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT))((-((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9](L)?)))?))|((([0-6](L)?)L))|(W)|((((((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT)))|([0-6])|([*]))[#][1-5]))|(((([0-6])|(((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT)))|([rR*]))([#][1-5])?((-(([0-6])|(((SUN)|(MON)|(TUE)|(WED)|(THU)|(FRI)|(SAT)))|([rR*]))([#][1-5])?))?)))))*)|([?]))((( (((([rR*])|((([1-2][0-9][0-9][0-9])((-([1-2][0-9][0-9][0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|((([1-2][0-9][0-9][0-9])((-([1-2][0-9][0-9][0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))*))?))|((((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* (((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|(((([0-5])?[0-9])((-(([0-5])?[0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* (((([rR*])|(((((([0-1])?[0-9]))|(([2][0-3])))((-(((([0-1])?[0-9]))|(([2][0-3])))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|(((((([0-1])?[0-9]))|(([2][0-3])))((-(((([0-1])?[0-9]))|(([2][0-3])))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* (((((((([rR*])|(((((([1-2])?[0-9]))|(([3][0-1]))|(([1-9]))|(L))((-(((([1-2])?[0-9]))|(([3][0-1]))|(([1-9]))|(L))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])(W)?))?))|(L)|(((((([1-2])?[0-9]))|(([3][0-1]))|(([1-9]))|(L))W))))(,(((((([rR*])|(((((([1-2])?[0-9]))|(([3][0-1]))|(([1-9]))|(L))((-(((([1-2])?[0-9]))|(([3][0-1]))|(([1-9]))|(L))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])(W)?))?))|(L)|(((((([1-2])?[0-9]))|(([3][0-1]))|(([1-9]))|(L))W)))))*)|([?])) (((([rR*])|((((([1-9]))|(([1][0-2])))((-((([1-9]))|(([1][0-2])))))?))|((((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))((-((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|((((([1-9]))|(([1][0-2])))((-((([1-9]))|(([1][0-2])))))?))|((((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))((-((JAN)|(FEB)|(MAR)|(APR)|(MAY)|(JUN)|(JUL)|(AUG)|(SEP)|(OCT)|(NOV)|(DEC))))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))* [?]((( (((([rR*])|((([1-2][0-9][0-9][0-9])((-([1-2][0-9][0-9][0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?))(,(((([rR*])|((([1-2][0-9][0-9][0-9])((-([1-2][0-9][0-9][0-9])))?)))((/(([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?([0-9])?[0-9])))?)))*))?))",
                    "type": "string"
                },
                "UTCLocal": {
                    "type": "boolean"
                }
            }
        }
    }
}