unknown-field
A key isn’t in the schema.
Severity: error · Since: v1.0.0
What check reports
Section titled “What check reports”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.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: Web techology: GoRemove the key, or correct its spelling to the suggested field.
shop/services.yaml:
services: web: name: Web technology: GoRelated rules
Section titled “Related rules”missing-field: A required field is absent.invalid-value: A value has the wrong type, a bad enum value or a malformed URL.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.