Skip to content

unknown-field

A key isn’t in the schema.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/services.yaml:4:5 error unknown-field Unknown field "techology"; did you mean "technology"?

A key the schema doesn’t know is almost always a misspelling. If it were ignored, the Model would quietly lack what the author meant to declare, such as a Service’s technology.

shop/services.yaml:

services:
web:
name: Web
techology: Go

Remove the key, or correct its spelling to the suggested field.

shop/services.yaml:

services:
web:
name: Web
technology: Go

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