design/enum-combination-unencoded

When the same enum is reused across tools but not every combination is valid (e.g. not every product supports every tier), the schema cannot say so — the model finds out via runtime errors. Flag shared enums for a validity review.

Category
design
Default severity
info
Weight
0
Max deduction
0

Why this category matters

The interesting half. Whether the surface is shaped around your users' intents or around your REST endpoints.

A rule deducts weight points from its category for each non-info finding, capped at maxDeduction. The composite is the mean of the six category scores — so a single noisy rule can never sink a whole surface on its own. Read the full scoring model.

Other design rules

Back to the full rule catalogue · Browse audited servers