Skip to main content
Version: 0.4.0

Repository settings

kanoniq.repository.json, beside your model/ folder, marks a repository and holds its model's settings. It is JSON with // and /* … */ comments allowed and no trailing comma. A setting you leave out takes its default; a key that is no setting, or a value not of its setting's form, is a build error, and the model doesn't build until you fix it (see Build errors). kq init writes it; from then on only you, kq arrange, kq materialize and kq threats:init change it. No setting holds a figure your model uses: a figure you use more than once is a constant.

Every setting​

Each setting, with the value it has when you leave it out:

SettingDefaultWhat it does
idNoneThe repository's permanent identifier, which a repository license names, written by kq init and never changed.
arrangedfalseWhether every file must sit where the conventional layout puts it, so that a file out of place is an error; kq arrange turns it on.
end-of-support-warning"12m"How many months before a vendor's support or a contract ends an element is reported as a lint, or false for never.
end-of-support-errorNoneHow many months before a vendor's support or a contract ends an element is reported as an error, within the warning period, or false for never.
confidentiality-levels["public", "internal", "confidential", "restricted"]The levels a domain object's confidentiality can be, least sensitive first.
regulated-scopes[]The regulated scopes a domain object or a significant property can be in, such as pci, which a policy selects with scope and connected-to.
frameworks{}The frameworks your repository follows, which the coverage lint reads: a framework Kanoniq ships, such as iso-27001-2022, set to true, or one of your own with the list of its requirement ids, or with { "ids": [...], "checkable": [...] } where the model can check only some of them, the lint reporting only those.
residencies{}Named sets of countries personal data may be in, such as eea, each with its countries, which a policy's country, from-country, to-country and leaves name; one that also lists the countries adequate for it is a transfer regime, which personal data leaves only on a ground a contract's transfer states, as two lints check.
portal{ "auto-generated-landscape": false }The portal's options: auto-generated-landscape adds a landscape page for each ecosystem, drawn from the model.
properties{}The open properties your model may use, each declared once by its name, with its type, and optionally a label and the element types it may be written on.
policies{ "enabled": true, "preset": {}, "no-policy": "info", "exemptions": "info", "hygiene": "warn", "policy-sets": {} }How strictly your policies are checked, and whether commands check them at all.

policies takes options of its own, listed in Settings under Policies, and each entry under properties declares one property, as Open properties explains.

© 2026 Extenza Works. All rights reserved.