KQ297 — a regulated scope is one the repository lists
Error · regulated-scope-is-listed · Data
A Domain Object's or a significant property's regulated scope is one the repository's regulated-scopes setting lists.
A domain object's regulated, or a significant property's, names a scope your repository's regulated-scopes setting doesn't list, so no policy can select it. Add the scope to regulated-scopes in kanoniq.repository.json, or correct the word. A scope or connected-to clause in a policy naming such a scope is KQ074's.
Examples
In a repository whose regulated-scopes lists only pci, a card regulated in pci-dss raises KQ297:
object card "Card" : cards confidentiality restricted personal-data personal regulated pci-dss
component checkout "Checkout" : backend {
sql cards-db "Cards DB" {
root card authoritative origin
identifier "Card Id"
}
}
The card regulated in pci, the scope the repository lists, raises nothing:
object card "Card" : cards confidentiality restricted personal-data personal regulated pci
component checkout "Checkout" : backend {
sql cards-db "Cards DB" {
root card authoritative origin
identifier "Card Id"
}
}
© 2026 Extenza Works. All rights reserved.