Skip to content

invalid-value

A value has the wrong type, a bad enum value or a malformed URL.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/services.yaml:4:11 error invalid-value Invalid value for "type": expected one of "app"|"datastore"|"broker"

A value a field doesn’t accept means nothing to what reads the Model. A Service type outside app, datastore and broker can’t be drawn, and a malformed url can’t be opened.

shop/services.yaml:

services:
orders-db:
name: Orders DB
type: database

Change the value to one the field accepts.

shop/services.yaml:

services:
orders-db:
name: Orders DB
type: datastore

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