schema.switchconditions.eventcondition.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.switchconditions.EventCondition",
"javaInterfaces": ["io.serverlessworkflow.api.interfaces.SwitchCondition"],
"description": "Switch state data event condition",
"properties": {
"name": {
"type": "string",
"description": "Event condition name"
},
"eventRef": {
"type" : "string",
"description": "References an unique event name in the defined workflow events"
},
"eventDataFilter": {
"description": "Callback event data filter definition",
"$ref": "../filters/eventdatafilter.json"
},
"transition": {
"$ref": "../transitions/transition.json",
"description": "Next transition of the workflow if there is valid matches"
},
"end": {
"$ref": "../end/end.json",
"description": "Workflow end definition"
}
},
"required": [
"eventRef",
"transition"
]
}