Skip to main content
Version: 0.4.0

KQ058 — a property is declared

Error · property-declared · Open properties

An open property is declared in the repository's settings, for the element type it is written on.

A # line names a property that kanoniq.repository.json does not declare under properties, or one whose declaration's on does not list the type it is written on. Declare it, with its type, or add the type to its on; if it is a typo, correct the name. A model with no kanoniq.repository.json declares nothing: run kq init to make one.

Examples​

The repository declares cost-center, not cost-centre, so this component raises KQ058:

#cost-centre "CC-42" component storefront-bff "Storefront BFF" : backend

With the name corrected to cost-center, it raises nothing:

#cost-center "CC-42" component storefront-bff "Storefront BFF" : backend

© 2026 Extenza Works. All rights reserved.