Skip to content

Commit b749530

Browse files
authored
add _state_ to EventBasedSwitch and DataBasedSwitch (#522)
Signed-off-by: Antonio Mendoza Pérez <[email protected]>
1 parent 82b7442 commit b749530

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ period, the workflow transitions to the "HandleNoVisaDecision" state.
782782

783783
```json
784784
{
785-
"id": "eventbasedswitch",
785+
"id": "eventbasedswitchstate",
786786
"version": "1.0",
787787
"specVersion": "0.7",
788788
"name": "Event Based Switch Transitions",
@@ -857,7 +857,7 @@ period, the workflow transitions to the "HandleNoVisaDecision" state.
857857
<td valign="top">
858858

859859
```yaml
860-
id: eventbasedswitch
860+
id: eventbasedswitchstate
861861
version: '1.0'
862862
specVersion: '0.7'
863863
name: Event Based Switch Transitions

schema/workflow.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,14 +1118,14 @@
11181118
"switchstate": {
11191119
"oneOf": [
11201120
{
1121-
"$ref": "#/definitions/databasedswitch"
1121+
"$ref": "#/definitions/databasedswitchstate"
11221122
},
11231123
{
1124-
"$ref": "#/definitions/eventbasedswitch"
1124+
"$ref": "#/definitions/eventbasedswitchstate"
11251125
}
11261126
]
11271127
},
1128-
"eventbasedswitch": {
1128+
"eventbasedswitchstate": {
11291129
"type": "object",
11301130
"description": "Permits transitions to other states based on events",
11311131
"properties": {
@@ -1204,7 +1204,7 @@
12041204
"defaultCondition"
12051205
]
12061206
},
1207-
"databasedswitch": {
1207+
"databasedswitchstate": {
12081208
"type": "object",
12091209
"description": "Permits transitions to other states based on data conditions",
12101210
"properties": {

0 commit comments

Comments
 (0)