You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/workflow.yaml
+38-13Lines changed: 38 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -253,7 +253,9 @@ $defs:
253
253
description: The HTTP endpoint to send the request to.
254
254
oneOf:
255
255
- $ref: '#/$defs/endpoint'
256
-
- type: string
256
+
- $ref: '#/$defs/runtimeExpression'
257
+
- title: LiteralEndpoint
258
+
type: string
257
259
format: uri-template
258
260
headers:
259
261
type: object
@@ -361,23 +363,32 @@ $defs:
361
363
type: string
362
364
description: The event's unique identifier
363
365
source:
364
-
type: string
365
-
format: uri
366
366
description: Identifies the context in which an event happened
367
+
oneOf:
368
+
- title: LiteralSource
369
+
type: string
370
+
format: uri-template
371
+
- $ref: '#/$defs/runtimeExpression'
367
372
type:
368
373
type: string
369
374
description: This attribute contains a value describing the type of event related to the originating occurrence.
370
375
time:
371
-
type: string
372
-
format: date-time
376
+
oneOf:
377
+
- title: LiteralTime
378
+
type: string
379
+
format: date-time
380
+
- $ref: '#/$defs/runtimeExpression'
373
381
subject:
374
382
type: string
375
383
datacontenttype:
376
384
type: string
377
385
description: Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format.
378
386
dataschema:
379
-
type: string
380
-
format: uri
387
+
oneOf:
388
+
- title: LiteralDataSchema
389
+
type: string
390
+
format: uri-template
391
+
- $ref: '#/$defs/runtimeExpression'
381
392
required: [ source, type ]
382
393
additionalProperties: true
383
394
required: [ event ]
@@ -773,16 +784,22 @@ $defs:
773
784
type: object
774
785
properties:
775
786
type:
776
-
type: string
777
-
format: uri
778
787
description: A URI reference that identifies the error type.
788
+
oneOf:
789
+
- title: LiteralErrorType
790
+
type: string
791
+
format: uri-template
792
+
- $ref: '#/$defs/runtimeExpression'
779
793
status:
780
794
type: integer
781
795
description: The status code generated by the origin for this occurrence of the error.
782
796
instance:
783
-
type: string
784
-
format: json-pointer
785
797
description: A JSON Pointer used to reference the component the error originates from.
798
+
oneOf:
799
+
- title: LiteralErrorInstance
800
+
type: string
801
+
format: json-pointer
802
+
- $ref: '#/$defs/runtimeExpression'
786
803
title:
787
804
type: string
788
805
description: A short, human-readable summary of the error.
0 commit comments