Automated commit by github action: 5578924213

This commit is contained in:
GitHub Action Bot
2023-07-17 17:51:50 +00:00
parent a6c25874cb
commit fdc02ae56b
2 changed files with 10 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
type: object
description: The trigger that starts the workflow
required:
- type
- attributes
- type
- attributes
properties:
type:
type: string
enum:
- EVENT
- EXTERNAL
@@ -12,8 +13,9 @@ properties:
example: EVENT
description: The trigger type
attributes:
type: object
description: Workflow Trigger Attributes.
oneOf:
- $ref: './workflows/trigger-attributes/EventAttributes.yaml'
# - $ref: './workflows/trigger-attributes/ExternalAttributes.yaml'
- $ref: './workflows/trigger-attributes/ScheduledAttributes.yaml'
anyOf:
- $ref: "./workflows/trigger-attributes/EventAttributes.yaml"
- $ref: "./workflows/trigger-attributes/ExternalAttributes.yaml"
- $ref: "./workflows/trigger-attributes/ScheduledAttributes.yaml"

View File

@@ -7,7 +7,7 @@ properties:
type: string
description: The unique ID of the trigger
example: "idn:identity-attributes-changed"
filter:
filter.$:
type: string
description: JSON path expression that will limit which events the trigger will fire on
example: "$.changes[?(@.attribute == 'manager')]"