diff --git a/idn/beta/schemas/WorkflowTrigger.yaml b/idn/beta/schemas/WorkflowTrigger.yaml index 228f385d..9a701a01 100644 --- a/idn/beta/schemas/WorkflowTrigger.yaml +++ b/idn/beta/schemas/WorkflowTrigger.yaml @@ -10,13 +10,15 @@ properties: - EVENT - EXTERNAL - SCHEDULED + - "" example: EVENT description: The trigger type displayName: type: string nullable: true attributes: - oneOf: + nullable: true + anyOf: - $ref: './workflows/trigger-attributes/EventAttributes.yaml' - $ref: './workflows/trigger-attributes/ExternalAttributes.yaml' - $ref: './workflows/trigger-attributes/ScheduledAttributes.yaml' diff --git a/idn/v3/schemas/workflows/WorkflowTrigger.yaml b/idn/v3/schemas/workflows/WorkflowTrigger.yaml index ba1e1a09..de93da2b 100644 --- a/idn/v3/schemas/workflows/WorkflowTrigger.yaml +++ b/idn/v3/schemas/workflows/WorkflowTrigger.yaml @@ -10,13 +10,15 @@ properties: - EVENT - EXTERNAL - SCHEDULED + - "" example: EVENT description: The trigger type displayName: type: string nullable: true attributes: - oneOf: + nullable: true + anyOf: - $ref: './trigger-attributes/EventAttributes.yaml' - $ref: './trigger-attributes/ExternalAttributes.yaml' - $ref: './trigger-attributes/ScheduledAttributes.yaml'