Skip to content

Commit 7458057

Browse files
committed
[Fix #1119] Allowing runtime xpression for duration
Signed-off-by: fjtirado <[email protected]>
1 parent cc6cf59 commit 7458057

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

schema/workflow.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,11 +1215,13 @@ $defs:
12151215
description: Number of milliseconds, if any.
12161216
title: DurationInline
12171217
description: The inline definition of a duration.
1218+
- $ref: '#/$defs/runtimeExpression'
1219+
title: DurationExpression
1220+
description: Runtime expression that generates an ISO 8601
12181221
- type: string
12191222
pattern: '^P(?!$)(\d+(?:\.\d+)?Y)?(\d+(?:\.\d+)?M)?(\d+(?:\.\d+)?W)?(\d+(?:\.\d+)?D)?(T(?=\d)(\d+(?:\.\d+)?H)?(\d+(?:\.\d+)?M)?(\d+(?:\.\d+)?S)?)?$'
1220-
title: DurationExpression
1221-
description: The ISO 8601 expression of a duration.
1222-
error:
1223+
title: DurationLiteral
1224+
description: The Literal ISO 8601 representation of a duration. error:
12231225
type: object
12241226
title: Error
12251227
description: Represents an error.

0 commit comments

Comments
 (0)