
schema.schedule.schedule.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serverlessworkflow-api Show documentation
Show all versions of serverlessworkflow-api Show documentation
Java SDK for Serverless Workflow Specification
{
"type": "object",
"javaType": "io.serverlessworkflow.api.schedule.Schedule",
"description": "Start state schedule definition",
"properties": {
"interval": {
"type": "string",
"description": "Time interval (ISO 8601 format) describing when the workflow starting state is active"
},
"cron": {
"type": "string",
"description": "Repeating interval (cron expression) describing when the workflow starting state should be triggered"
},
"directInvoke": {
"description": "Define if workflow instances can be created outside of the defined interval/cron",
"type": "string",
"enum": [
"allow",
"deny"
]
},
"timezone": {
"type": "string",
"description": "Timezone name used to evaluate the cron expression. Not used for interval as timezone can be specified there directly. If not specified, should default to local machine timezone."
}
},
"oneOf": [
{
"required": [
"interval",
"directInvoke"
]
},
{
"required": [
"cron",
"directInvoke"
]
}
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy