All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.schedule.schedule.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "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