Skip to content

yaml-syntax

A file can’t be parsed as YAML.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/services.yaml:4:1 error yaml-syntax Flow sequence in block collection must be sufficiently indented and end with a ]

Nothing in a file that can’t be parsed reaches the Model. Everything it declares goes missing, and every reference to those ids fails as well.

shop/services.yaml:

services:
web:
name: [Web

Correct the YAML syntax at the reported position.

shop/services.yaml:

services:
web:
name: Web
  • invalid-adr-frontmatter: An ADR has no frontmatter, frontmatter that isn’t valid YAML, or a field that is unknown, missing (status, date) or invalid, such as a status outside proposed, accepted, rejected, deprecated and superseded.

Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.