spectral:arazzo error on by default

arazzo-document-schema

Arazzo Document must be valid against the Arazzo schema.

Applies to
document
Selects
$
Function
arazzoDocumentSchema
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-document-schema: error   # or off, or another severity

Definition

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

arazzo-document-schema:
  description: Arazzo Document must be valid against the Arazzo schema.
  message: '{{error}}'
  severity: 0
  given: $
  then:
    function: arazzoDocumentSchema

About this rule

Validate structure of an Arazzo Document against the schema of the Arazzo v1 specification.

Sources