Data
Say what data the organization holds and how it moves.
Data, in two dimensions
A domain object is the concept, Order. A data entity is a concrete holding of it, the Order table in the Order Service. Neither sits above the other; they answer different questions.
| Domain object | Data entity | |
|---|---|---|
| Declared in | A platform or a monolith | A storage, inside the component or monolith that owns it |
| Belongs to | Exactly one domain | The component or monolith it sits in |
| Carries | How confidential it is, whether it is personal data, and whether it is canonical | Its role, structure, properties and policies |
One domain object is usually held in several places. Tell the holdings apart with markers:
| Marker | Says | Rule |
|---|---|---|
authoritative | This is the system of record | Exactly one per domain object |
origin | Data of this kind is first created here | At least one per domain object |
from … over … | This is a replica, kept in step from another holding, by the messages or the mechanism it carries. An entity may have several, all but one marked reconcile | Its source can't be transient |
transient | Nothing outside this component depends on it | Never syncs in or out |
A holding can be several at once: a service that creates and keeps its own orders is both origin and authoritative.
Authority covers the whole domain object. One holding is the system of record for all of it, never for some of its properties: a property listed on a replica is a copy. When two systems each own part of one concept, such as a CRM owning the customer and billing owning the customer's payment terms, model each part as its own domain object, Customer and Customer Payment Terms, each with its own authoritative holding.
One owner, always. Each data entity sits in one storage in one component, or in a monolith that holds its storages itself. A component that needs data it doesn't own goes through the owner, or keeps a replica; two components sharing one database can't be written.
Structure is local. Within a component, every entity is a root or part of another, so each component's data is a set of complete trees. references links entities in the same component, in one storage or across two of its storages (references risk-store/exposure). Between systems, there is no foreign key: what links them is that both hold the same domain object.
Canonical data is reference data end users don't manage: countries, currencies.
Classification belongs to the concept. A domain object states two separate things: its confidentiality, how bad a leak would be, and whether it is personal data, whether it identifies a person. A pricing model is confidential and identifies nobody; an employee directory is personal data and may be only internal. Both sit on the domain object, so its copies can't disagree. A holding marks which of its properties are personal, which tells a privacy review where the name and address are kept and where only an id is.
Significant properties. List the identifier and the few properties that matter, not the full column list. A system that stores only a customer's id holds one property, and that is exactly what a privacy review needs to see.
Domain object
Declared in a platform or a monolith. After : comes the domain that owns it. Then, each optional and in this order:
| Part | Means |
|---|---|
confidentiality <level> | How sensitive it is: one of your repository's levels, least sensitive first in confidentiality-levels in kanoniq.repository.json. By default they are public, internal, confidential and restricted, and a level not listed is KQ275 |
personal-data <value> | Whether it identifies a person: none, personal, or special-category for health, biometric, genetic, ethnic, political, religious, union, sex life or orientation data and criminal records. none says you checked; leaving it out says nothing |
canonical | Reference data that end users don't manage, such as countries or currencies |
Storage and data entity
Data is written inside the component that owns it, or in a monolith that holds its storages itself, in a named storage: sql (a SQL database), table (entities by partition and row key, with no schema, such as Azure Table Storage; not a SQL table), document (JSON documents in containers or collections, such as Cosmos DB's NoSQL API or MongoDB), log (an append-only store of time-ordered events, such as Application Insights), file (a directory), blob (a blob container), key-value (opaque values by key, such as a Redis cache), graph (nodes and edges, such as Cosmos DB for Gremlin or Neptune) or search-index (a search index, such as an Azure AI Search index).
A storage of any kind sits in the component that owns its data. The product that keeps it, such as Azure Table Storage, is not modeled as a component reached over http: at most it is a database server or a storage account the storage is hosted on (see Writing environments and database servers).
An entity is named by the domain object it holds. order above is the Order domain object, held in orders-db. The domain object is looked up from the component's platform or monolith outward, so write a path when it is declared elsewhere: root platform-core/payment holds the Payment declared in platform-core. The path is from the ecosystem, and the entity is still referred to by its last segment, payment, in references and part of.
An entity line reads, in order:
| Part | Means |
|---|---|
root | Leads the line when the entity is the top of a tree. Every entity is either root or part of another |
part of <entity> [n] | This entity belongs to another in the same storage. [n] is how many parts the whole has |
authoritative | This holding is the system of record. Exactly one per domain object, in the whole model |
origin | Data of this kind is first created here. At least one per domain object |
transient | Nothing outside this component depends on it, so it never syncs in or out |
from <component> over <protocol or channel> | This is a replica, kept in step from that component's copy. Name the component by its path from the ecosystem when it is in another platform: from platform-channels/customer-hub over http. A sync states its scheme as a connection does: auth over a protocol, sender-auth and receiver-auth over a channel, and may end with what it carries and reconcile |
Then, on lines of their own below it:
| Line | Means |
|---|---|
from <component> over … | Another sync into the same entity, written like the first, before the other lines |
identifier "<name>" | An identifying property. Several make a composite key |
property "<name>" | Another significant property. List the few that matter, not every column |
… personal | Ends an identifier or property line whose data is personal in this holding, property "Email" personal. It never sets a level: the domain object's classification holds for every copy. On a domain object stating personal-data none it's KQ276; on one stating no personal-data, KQ124 |
references <entity> [n] | A reference to another entity in the same storage, with how many it points at. Write references <storage>/<entity> [n] for an entity in another storage of the same component |
Multiplicities are [1], [0..1], [1..*] and [0..*].
Structure stays inside a component. part of and references name entities in the same component. Across systems, the link is that both hold the same domain object.
So a component that needs to refer to something another component owns holds its own entity for it, usually a replica, and refers to that:
references customer is valid only because ledger-db holds a customer entity. Without it, the reference has nothing to point at.
Access
Which component of a monolith reads or writes which of the monolith's own tables, written in the monolith's block:
writes is creating, changing or deleting, and reads is reading. Neither implies the other: a component that does both states both, and an import that only inserts states writes alone. The same line twice is a repeat (KQ026).
The source is a component of the monolith, directly or in a module, of any kind, a job or a robot included. The target is an entity in a storage the monolith holds itself, named by its storage and its object. Data a component holds is that component's, reached by calling it, and another monolith's or a platform's never shares this database (KQ246). Name an aggregate by its root, which covers its parts; an entity that is neither a root nor part of anything is named itself (KQ247). An access creates nothing: an entity that is not there is an unresolved name (KB003).
Accesses are optional. A monolith that states none says nothing about who uses its data, and stating one does not ask for the rest. No view draws an access as a line.
Data uses
A data use says why you process personal data, and on what legal ground. Its name is the purpose. Write it in a domain or an ecosystem, which holds it. Its parts, in this order:
| Part | Means |
|---|---|
via <work>, … | The domains, function groups or functions of its own ecosystem whose work the purpose covers, each with what is under it. Required |
basis <basis>, … | The lawful bases of GDPR Art. 6(1): consent, contract, legal-obligation, vital-interests, public-task or legitimate-interests |
special <condition>, … | For special-category data, the conditions of GDPR Art. 9(2) it is processed under, such as explicit-consent, employment or health-care, or Art. 10's authorized-by-law |
subjects <persona>, … | Whose data it is, as personas: employee, customer and the others |
data <object>, … | The domain objects it processes. A code alone names the domain object of that code in its ecosystem. Required |
joint <ecosystem>, … | Other ecosystems that decide the purpose with it, its joint controllers |
The legal words are not reserved but contract, which basis still reads, so a code such as consent stays legal; a word GDPR doesn't list is KB084. The full lists are in the reference.
Everything else is read from the model. Select a data use and the information pane lists, under Computed, its systems, the ones realizing what via names; its holdings in their storages, with the properties marked personal; the copies syncs keep of them; where they run, each stage with the countries they're held in; its transfers, each place its personal data leaves a transfer regime for, with the element receiving it and its ground, or no ground stated, or not stated where that place isn't known; its controller, its own ecosystem, and its joint ones; its processors, the saas components and monoliths among its systems or holding its data; its recipients, the other ecosystems and pool sites its data reaches; and the security measures stated on what reaches them.
What is checked. A named domain object that is personal-data none (KQ277) or that its systems don't hold (KQ278), special-category data with no special (KQ279), a special with no special-category data (KQ280), a via into another ecosystem (KQ281), and joint naming its own ecosystem (KQ282) are errors. A named domain object stating no personal-data (KQ126) and a data use with no basis (KQ128) are lints. Once an ecosystem states one data use, each data entity of personal data in it that no data use holds or copies is a lint too (KQ127).
Reference
The element types, relationships and kinds of this area, each with what it means.
Element types
| Element type | What it is |
|---|---|
| Storage | A Storage is where data sits, such as a SQL database or a blob container, owned by the Component or Monolith it sits in. A Storage holds Data Entities. |
| Domain Object | A Domain Object is a conceptual thing the organization keeps data about, such as Order. A Domain Object sits in a Platform or a Monolith, belongs to exactly one Domain, and is held in Storages as Data Entities. |
| Data Entity | A Data Entity is a tangible holding of a Domain Object, such as the Order table in the Order System. A Data Entity sits in a Storage and represents exactly one Domain Object. |
| Data Use | A Data Use is a purpose for which the organization processes personal data, such as running payroll, with the lawful basis it rests on. A Data Use sits in an Ecosystem or a Domain, names the function-side work it covers and the Domain Objects it processes, and its systems, holdings and recipients are read from the model. |
Relationships
| Relationship | What it says |
|---|---|
| Representation | A Representation says which Domain Object a Data Entity is a holding of. Each Data Entity represents exactly one Domain Object. |
| Domain Ownership | A Domain Ownership binds a Domain Object to the one Domain it belongs to, apart from the Platform or Monolith that contains it. |
| Part Of | A Part Of puts a Data Entity in the local tree of a whole, within one Storage of one Component. Every Data Entity is a root or part of another. |
| Reference | A Reference is a foreign key from one Data Entity to another of the same Component, possibly in another of its Storages. A Reference never crosses Components. |
| Access | An Access says a Component of a monolith reads or writes a Data Entity in a Storage the monolith holds itself. It names an aggregate by its root, or an entity in no aggregate, and is legal only inside one monolith. |
| Replication | A Replication says a DbServer replicates another, in a role. Replication runs between database servers, never between Data Entities. |
Replica role: The role a replica database server plays for its primary.
| Value | Means |
|---|---|
failover | A standby that takes over when the primary fails. |
Storage kind: A Storage's kind: what sort of store the Storage is.
| Value | Means |
|---|---|
sql | A SQL database. |
file | A directory of files. |
blob | A blob container. |
table | Entities by partition and row key, with named properties a query filters on and no schema, such as Azure Table Storage, DynamoDB or Bigtable. A table Storage is not a SQL table. |
document | JSON documents in containers or collections, such as Cosmos DB's NoSQL API or MongoDB. |
log | An append-only store of time-ordered events, such as Application Insights. |
key-value | Opaque values by key, such as a Redis or Valkey cache. |
graph | A graph of nodes and edges, such as Cosmos DB for Gremlin, Neptune or Neo4j. |
search-index | A search index, such as an Azure AI Search, OpenSearch or Elasticsearch index. |
Cardinality: How many Data Entities a part-of or reference relationship expects at its far end.
| Value | Means |
|---|---|
1 | Exactly one. |
0..1 | Zero or one. |
1..* | One or more. |
0..* | Zero or more. |
Access mode: What an Access's Component does with the entity: reads it, or writes it. A Component that does both has one Access of each.
| Value | Means |
|---|---|
read | The Component reads the entity. |
write | The Component creates, changes or deletes the entity. |
Personal data: Whether a Domain Object identifies a person. Absent, nothing is stated, which is not none.
| Value | Means |
|---|---|
none | Identifies no person. |
personal | Identifies a person, directly or with other data (GDPR Art. 4(1)). |
special-category | Health, biometric, genetic, ethnic, political, religious, union membership, sex life or orientation (GDPR Art. 9), or criminal records (GDPR Art. 10). |
Legal basis: A lawful basis for processing personal data, one of GDPR Art. 6(1)'s six.
| Value | Means |
|---|---|
consent | The data subject has given consent (GDPR Art. 6(1)(a)). |
contract | Processing is necessary for a contract with the data subject, or for steps before entering one (GDPR Art. 6(1)(b)). |
legal-obligation | Processing is necessary to comply with a legal obligation (GDPR Art. 6(1)(c)). |
vital-interests | Processing is necessary to protect someone's vital interests (GDPR Art. 6(1)(d)). |
public-task | Processing is necessary for a task in the public interest or in official authority (GDPR Art. 6(1)(e)). |
legitimate-interests | Processing is necessary for legitimate interests not overridden by the data subject's (GDPR Art. 6(1)(f)). |
Special condition: A condition for processing special-category data, one of GDPR Art. 9(2)'s ten or Art. 10's authorization by law, on top of an Art. 6(1) basis.
| Value | Means |
|---|---|
explicit-consent | The data subject has given explicit consent (GDPR Art. 9(2)(a)). |
employment | Processing is necessary under employment, social security or social protection law (GDPR Art. 9(2)(b)). |
vital-interests | Processing is necessary to protect the vital interests of a person unable to consent (GDPR Art. 9(2)(c)). |
not-for-profit | Processing by a not-for-profit body about its members (GDPR Art. 9(2)(d)). |
made-public | The data subject has manifestly made the data public (GDPR Art. 9(2)(e)). |
legal-claims | Processing is necessary for legal claims or courts acting judicially (GDPR Art. 9(2)(f)). |
substantial-public-interest | Processing is necessary for reasons of substantial public interest under law (GDPR Art. 9(2)(g)). |
health-care | Processing is necessary for medicine, health or social care (GDPR Art. 9(2)(h)). |
public-health | Processing is necessary for reasons of public interest in public health (GDPR Art. 9(2)(i)). |
archiving-research | Processing is necessary for archiving, research or statistics in the public interest (GDPR Art. 9(2)(j)). |
authorized-by-law | Processing of criminal convictions and offences is authorized by law (GDPR Art. 10). |
© 2026 Extenza Works. All rights reserved.