Skip to content

Commit 7d0df86

Browse files
committed
[Fix #1774] Update schema to latest specification version
Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>
1 parent 7eca21e commit 7d0df86

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎types/src/main/resources/schema/workflow.yaml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$id: https://open-workflow-specification.org/schemas/1.0.3/workflow.yaml
1+
$id: https://open-workflow-specification.org/schemas/1.0.4/workflow.yaml
22
$schema: https://json-schema.org/draft/2020-12/schema
33
description: Open Workflow DSL - Workflow Schema.
44
type: object
@@ -876,6 +876,10 @@ $defs:
876876
type: string
877877
title: ScriptLanguage
878878
description: The language of the script to run.
879+
stdin:
880+
type: string
881+
title: ScriptStdin
882+
description: A runtime expression, if any, to pipe to the script as standard input (stdin).
879883
arguments:
880884
type: object
881885
title: ScriptArguments
@@ -1461,11 +1465,11 @@ $defs:
14611465
- title: LiteralUriTemplate
14621466
type: string
14631467
format: uri-template
1464-
pattern: "^(?!\\s*\\$\\{)(?=\\S)(([^:/?#]+):)?(//([^/?#\\s]*))?([^?#\\s]*)(\\?([^#\\s]*))?(#(\\S*))?$"
1468+
pattern: "^(?!\\s*\\$\\{)(?=\\S)(?=.*\\{[^}]+\\})(([^:/?#]+):)?(//([^/?#\\s]*))?([^?#\\s]*)(\\?([^#\\s]*))?(#(\\S*))?$"
14651469
- title: LiteralUri
14661470
type: string
14671471
format: uri-reference
1468-
pattern: "^(?!\\s*\\$\\{)(?=\\S)(([^:/?#]+):)?(//([^/?#\\s]*))?([^?#\\s]*)(\\?([^#\\s]*))?(#(\\S*))?$"
1472+
pattern: "^(?!\\s*\\$\\{)(?=\\S)(?!.*[{}])(([^:/?#]+):)?(//([^/?#\\s]*))?([^?#\\s]*)(\\?([^#\\s]*))?(#(\\S*))?$"
14691473
endpoint:
14701474
title: Endpoint
14711475
description: Represents an endpoint.

0 commit comments

Comments
 (0)