KQ011 — authoritative cardinality
Error · authoritative-cardinality · Data
Every Domain Object has exactly one authoritative holding across the whole model.
A domain object has no authoritative holding, or more than one, across the whole model. Mark the system of record authoritative, and only that one.
Examples
The order service already holds the authoritative orders, so a second authoritative holding in the billing service raises KQ011:
component billing {
sql billing-db "Billing DB" {
root order authoritative
}
}
A copy synced from the order service raises nothing:
component billing {
sql billing-db "Billing DB" {
root order from order-service over events/orders carries order-service/order-placed
}
}
© 2026 Extenza Works. All rights reserved.