schema.defaultcondition.defaultconditiondef.json Maven / Gradle / Ivy
{
"type": "object",
"javaType": "io.serverlessworkflow.api.defaultdef.DefaultConditionDefinition",
"description": "Switch state default condition definition",
"properties": {
"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"
}
},
"oneOf": [
{
"required": [
"transition"
]
},
{
"required": [
"end"
]
}
]
}