Skip to content

Commit 80280f3

Browse files
refactor: move required field before $defs
Signed-off-by: Matthias Pichler <[email protected]>
1 parent fb6b96c commit 80280f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ $id: https://serverlessworkflow.io/schemas/1.0.0-alpha1/workflow.yaml
22
$schema: https://json-schema.org/draft/2020-12/schema
33
description: Serverless Workflow DSL - Workflow Schema
44
type: object
5+
required: [ document, do ]
56
properties:
67
document:
78
type: object
@@ -1030,4 +1031,3 @@ $defs:
10301031
description: The duration after which to timeout.
10311032
required: [ after ]
10321033
description: The definition of a timeout.
1033-
required: [ document, do ]

0 commit comments

Comments
 (0)