Skip to content

missing-field

A required field is absent.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/services.yaml:2:3 error missing-field Missing required field "name"

A required field is one the rest of the Model relies on, such as the name an Element is shown by or the to of a Relationship. Without it the declaration can’t be drawn or resolved.

shop/services.yaml:

services:
web:
technology: Go

Add the missing field.

shop/services.yaml:

services:
web:
name: Web
technology: Go

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