spectral:arazzo error on by default

arazzo-workflowId-unique

Every workflow must have unique "workflowId".

Applies to
workflowId
Selects
$
Function
arazzoWorkflowIdUniqueness
Specs
Arazzo 1.0
Message
{{error}}

Use it

This rule ships with OpenLint in spectral:arazzo. Extending the ruleset turns it on:

extends: spectral:arazzo
rules:
  arazzo-workflowId-unique: error   # or off, or another severity

Definition

As defined in @openlint/openlint-rulesets. Functions show by name.

arazzo-workflowId-unique:
  description: Every workflow must have unique "workflowId".
  message: '{{error}}'
  severity: 0
  given: $
  then:
    function: arazzoWorkflowIdUniqueness

About this rule

workflowId must be unique across all the workflows defined within an Arazzo Document.

Sources