person-as-provider
The provider of a Relationship is a Person.
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:5:13 error person-as-provider Person "shopper" can't be a provider; declare the Relationship under the Person insteadA Relationship points from what depends to what is depended on, and a Person is only ever a consumer: it uses Systems, and nothing depends on it. Pointed at a Person, the Relationship runs backward, so impact answers upstream and downstream of it are wrong.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: Web relationships: - to: shopperpeople: shopper: name: ShopperA Person is only ever a consumer: declare the Relationship under the Person, pointing at what it uses.
shop/services.yaml:
services: web: name: Webpeople: shopper: name: Shopper relationships: - to: webDocuments the beta branch at cd98671, ahead of the latest release, v1.4.0.