Skip to content

Commit

Permalink
Update schema/workflow.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Charles d'Avernas <[email protected]>
Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
  • Loading branch information
fjtirado and cdavernas committed Jan 14, 2025
1 parent a96f613 commit 91c6cf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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
8 changes: 4 additions & 4 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1294,10 +1294,10 @@ $defs:
description: An expression based event data schema.
data:
title: EventData
description: Allow filtering by data content
oneOf:
- type: string
- type: object
description: The event's payload data
anyOf:
- $ref: '#/$defs/runtimeExpression'
- {}
additionalProperties: true
eventConsumptionStrategy:
type: object
Expand Down

0 comments on commit 91c6cf4

Please sign in to comment.