Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dsl-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ An event object typically includes details such as the event type, source, times
| subject | `string` | `no` | Describes the subject of the event in the context of the event producer. |
| datacontenttype | `string` | `no` | Content type of `data` value. If omitted, it implies the `data` is a JSON value conforming to the "application/json" media type. |
| dataschema | `string` | `no` | An URI formatted string, or [runtime expression](dsl.md#runtime-expressions), that identifies the schema that `data` adheres to. |
| data | `object` | `no` | The event payload. |
| data | `any` | `no` | The event payload. |

*Additional properties can be supplied, see the Cloud Events specification [documentation](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes) for more info.*

Expand Down
6 changes: 6 additions & 0 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,12 @@ $defs:
- title: ExpressionDataSchema
$ref: '#/$defs/runtimeExpression'
description: An expression based event data schema.
data:
title: EventData
description: The event's payload data
anyOf:
- $ref: '#/$defs/runtimeExpression'
- {}
additionalProperties: true
eventConsumptionStrategy:
type: object
Expand Down
Loading